Home
last modified time | relevance | path

Searched refs:SENSOR_CHAN_LIGHT (Results 1 – 16 of 16) sorted by relevance

/Zephyr-Core-2.7.6/samples/sensor/max44009/src/
Dmain.c33 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/
Dmain.c58 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/
Dmax44009.c81 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/
Dmain.c33 sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &lux); in main()
/Zephyr-Core-2.7.6/drivers/sensor/opt3001/
Dopt3001.c70 __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/
Dvcnl4040_trigger.c58 .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()
Dvcnl4040.c69 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/
Dmain.c73 sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &intensity); in main()
/Zephyr-Core-2.7.6/samples/sensor/vcnl4040/src/
Dmain.c36 if (sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &val) < 0) { in print_als_data()
/Zephyr-Core-2.7.6/drivers/sensor/isl29035/
Disl29035.h54 #define ISL29035_ACTIVE_CHAN SENSOR_CHAN_LIGHT
/Zephyr-Core-2.7.6/samples/boards/reel_board/mesh_badge/src/
Dperiphs.c73 SENSOR_CHAN_LIGHT, &val[0])) { in get_apds9960_val()
/Zephyr-Core-2.7.6/drivers/sensor/
Dsensor_shell.c37 [SENSOR_CHAN_LIGHT] = "light",
/Zephyr-Core-2.7.6/tests/drivers/sensor/generic/src/
Ddummy_sensor.c40 case SENSOR_CHAN_LIGHT: in dummy_sensor_channel_get()
Dmain.c32 { SENSOR_CHAN_LIGHT, { 0, 0 } },
/Zephyr-Core-2.7.6/include/drivers/
Dsensor.h92 SENSOR_CHAN_LIGHT, enumerator
/Zephyr-Core-2.7.6/drivers/sensor/apds9960/
Dapds9960.c125 case SENSOR_CHAN_LIGHT: in apds9960_channel_get()