Searched full:vcnl4040 (Results 1 – 14 of 14) sorted by relevance
2 :name: VCNL4040 Proximity and Ambient Light Sensor5 Get proximity and ambient light data from a VCNL4040 sensor (polling & trigger mode).18 This sample uses the VCNL4040 sensor controlled using the I2C interface.24 - VCNL4040: https://www.vishay.com/docs/84274/vcnl4040.pdf29 This project outputs sensor data to the console. It requires a VCNL404033 :zephyr-app: samples/sensor/vcnl4040/42 get device vcnl4040
2 name: VCNL4040 Sensor Sample4 sample.sensor.vcnl4040:10 filter: dt_compat_enabled("vishay,vcnl4040")
5 project(vcnl4040) project
1 # VCNL4040 Proximity and Ambient Light Sensor configuration options6 menuconfig VCNL4040 config7 bool "VCNL4040 Proximity and Ambient Light Sensor"12 Enable driver for VCNL4040 sensors.14 if VCNL404061 endif # VCNL4040
5 zephyr_library_sources(vcnl4040.c)
7 #include "vcnl4040.h"10 LOG_MODULE_DECLARE(vcnl4040, CONFIG_SENSOR_LOG_LEVEL);278 k_thread_name_set(&data->thread, "VCNL4040 trigger"); in vcnl4040_trigger_init()
9 #include "vcnl4040.h"17 LOG_MODULE_REGISTER(vcnl4040, CONFIG_SENSOR_LOG_LEVEL);139 * see page 8 of the VCNL4040 application note: in vcnl4040_reg_setup()
8 vcnl4040@60 {9 compatible = "vishay,vcnl4040";
5 VCNL4040 proximity and ambient light sensor. See datasheet at6 https://www.vishay.com/docs/84274/vcnl4040.pdf8 compatible: "vishay,vcnl4040"
6 add_subdirectory_ifdef(CONFIG_VCNL4040 vcnl4040)
6 source "drivers/sensor/vishay/vcnl4040/Kconfig"
544 test_i2c_vcnl4040: vcnl4040@51 {545 compatible = "vishay,vcnl4040";
544 * Added VCNL4040 proximity and light sensor driver.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.