Searched refs:SENSOR_CHAN_LIGHT (Results 1 – 16 of 16) sorted by relevance
/Zephyr-Core-2.7.6/samples/sensor/max44009/src/ |
D | main.c | 33 if (sensor_sample_fetch_chan(dev, SENSOR_CHAN_LIGHT) != 0) { in main() 38 if (sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &val) != 0) { in main()
|
/Zephyr-Core-2.7.6/samples/sensor/isl29035/src/ |
D | main.c | 58 if (sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &val) < 0) { in process_sample() 82 rc = sensor_attr_set(dev, SENSOR_CHAN_LIGHT, in process_sample() 85 rc = sensor_attr_set(dev, SENSOR_CHAN_LIGHT, in process_sample()
|
/Zephyr-Core-2.7.6/drivers/sensor/max44009/ |
D | max44009.c | 81 if (chan != SENSOR_CHAN_LIGHT) { in max44009_attr_set() 121 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_LIGHT); in max44009_sample_fetch() 148 if (chan != SENSOR_CHAN_LIGHT) { in max44009_channel_get()
|
/Zephyr-Core-2.7.6/samples/sensor/grove_light/src/ |
D | main.c | 33 sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &lux); in main()
|
/Zephyr-Core-2.7.6/drivers/sensor/opt3001/ |
D | opt3001.c | 70 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_LIGHT); in opt3001_sample_fetch() 90 if (chan != SENSOR_CHAN_LIGHT) { in opt3001_channel_get()
|
/Zephyr-Core-2.7.6/drivers/sensor/vcnl4040/ |
D | vcnl4040_trigger.c | 58 .chan = SENSOR_CHAN_LIGHT, in vcnl4040_handle_als_int() 152 if (chan == SENSOR_CHAN_LIGHT) { in vcnl4040_attr_set() 210 } else if (trig->chan == SENSOR_CHAN_LIGHT) { in vcnl4040_trigger_set()
|
D | vcnl4040.c | 69 chan == SENSOR_CHAN_LIGHT); in vcnl4040_sample_fetch() 84 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_LIGHT) { in vcnl4040_sample_fetch() 114 case SENSOR_CHAN_LIGHT: in vcnl4040_channel_get()
|
/Zephyr-Core-2.7.6/samples/sensor/apds9960/src/ |
D | main.c | 73 sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &intensity); in main()
|
/Zephyr-Core-2.7.6/samples/sensor/vcnl4040/src/ |
D | main.c | 36 if (sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &val) < 0) { in print_als_data()
|
/Zephyr-Core-2.7.6/drivers/sensor/isl29035/ |
D | isl29035.h | 54 #define ISL29035_ACTIVE_CHAN SENSOR_CHAN_LIGHT
|
/Zephyr-Core-2.7.6/samples/boards/reel_board/mesh_badge/src/ |
D | periphs.c | 73 SENSOR_CHAN_LIGHT, &val[0])) { in get_apds9960_val()
|
/Zephyr-Core-2.7.6/drivers/sensor/ |
D | sensor_shell.c | 37 [SENSOR_CHAN_LIGHT] = "light",
|
/Zephyr-Core-2.7.6/tests/drivers/sensor/generic/src/ |
D | dummy_sensor.c | 40 case SENSOR_CHAN_LIGHT: in dummy_sensor_channel_get()
|
D | main.c | 32 { SENSOR_CHAN_LIGHT, { 0, 0 } },
|
/Zephyr-Core-2.7.6/include/drivers/ |
D | sensor.h | 92 SENSOR_CHAN_LIGHT, enumerator
|
/Zephyr-Core-2.7.6/drivers/sensor/apds9960/ |
D | apds9960.c | 125 case SENSOR_CHAN_LIGHT: in apds9960_channel_get()
|