Home
last modified time | relevance | path

Searched refs:SENSOR_CHAN_PROX (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/samples/sensor/vcnl4040/src/
Dmain.c24 if (sensor_channel_get(dev, SENSOR_CHAN_PROX, &pdata) < 0) { in print_proxy_data()
97 if (sensor_attr_set(dev, SENSOR_CHAN_PROX, in test_trigger_mode()
105 if (sensor_attr_set(dev, SENSOR_CHAN_PROX, in test_trigger_mode()
112 trig.chan = SENSOR_CHAN_PROX; in test_trigger_mode()
/Zephyr-latest/samples/sensor/apds9960/src/
Dmain.c45 if (sensor_attr_set(dev, SENSOR_CHAN_PROX, in main()
53 .chan = SENSOR_CHAN_PROX, in main()
74 sensor_channel_get(dev, SENSOR_CHAN_PROX, &pdata); in main()
/Zephyr-latest/tests/drivers/sensor/generic/src/
Dmain.c36 { SENSOR_CHAN_PROX, { 4, 16 } }
41 { {SENSOR_TRIG_THRESHOLD, SENSOR_CHAN_PROX},
45 { {SENSOR_TRIG_TIMER, SENSOR_CHAN_PROX},
49 { {SENSOR_TRIG_DATA_READY, SENSOR_CHAN_PROX},
53 { {SENSOR_TRIG_DELTA, SENSOR_CHAN_PROX},
57 { {SENSOR_TRIG_NEAR_FAR, SENSOR_CHAN_PROX},
Ddummy_sensor.c56 case SENSOR_CHAN_PROX: in dummy_sensor_channel_get()
112 if (chan == SENSOR_CHAN_PROX && in dummy_sensor_attr_set()
129 if (chan == SENSOR_CHAN_PROX && in dummy_sensor_attr_get()
/Zephyr-latest/drivers/sensor/sx9500/
Dsx9500.c54 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_PROX); in sx9500_sample_fetch()
65 __ASSERT_NO_MSG(chan == SENSOR_CHAN_PROX); in sx9500_channel_get()
67 if (chan != SENSOR_CHAN_PROX) { in sx9500_channel_get()
/Zephyr-latest/drivers/sensor/honeywell/sm351lt/
Dsm351lt.c31 if (trig->chan == SENSOR_CHAN_PROX) { in sm351lt_trigger_set()
110 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_PROX) { in sm351lt_sample_fetch()
125 if (chan == SENSOR_CHAN_PROX) { in sm351lt_channel_get()
143 if (chan == SENSOR_CHAN_PROX) { in sm351lt_attr_set()
164 if (chan == SENSOR_CHAN_PROX) { in sm351lt_attr_get()
/Zephyr-latest/samples/sensor/sm351lt/src/
Dmain.c23 SENSOR_CHAN_PROX, in fetch_and_display()
57 trig.chan = SENSOR_CHAN_PROX; in main()
/Zephyr-latest/samples/sensor/sx9500/src/
Dmain.c26 ret = sensor_channel_get(dev, SENSOR_CHAN_PROX, &prox_value); in sensor_trigger_handler()
66 ret = sensor_channel_get(dev, SENSOR_CHAN_PROX, &prox_value); in do_main()
/Zephyr-latest/drivers/sensor/apds9960/
Dapds9960_trigger.c41 if (chan == SENSOR_CHAN_PROX) { in apds9960_attr_set()
76 if (trig->chan == SENSOR_CHAN_PROX) { in apds9960_trigger_set()
Dapds9960.c143 case SENSOR_CHAN_PROX: in apds9960_channel_get()
/Zephyr-latest/drivers/sensor/ams/tmd2620/
Dtmd2620_trigger.c43 if (chan != SENSOR_CHAN_PROX) { in tmd2620_attr_set()
77 if (trigg->chan != SENSOR_CHAN_PROX) { in tmd2620_trigger_set()
Dtmd2620.c86 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_PROX) { in tmd2620_sample_fetch()
158 if (chan == SENSOR_CHAN_PROX) { in tmd2620_channel_get()
/Zephyr-latest/samples/sensor/vl53l0x/src/
Dmain.c31 ret = sensor_channel_get(dev, SENSOR_CHAN_PROX, &value); in main()
/Zephyr-latest/drivers/sensor/vishay/vcnl4040/
Dvcnl4040.c61 chan == SENSOR_CHAN_PROX || in vcnl4040_sample_fetch()
64 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_PROX); in vcnl4040_sample_fetch()
68 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_PROX) { in vcnl4040_sample_fetch()
101 case SENSOR_CHAN_PROX: in vcnl4040_channel_get()
Dvcnl4040_trigger.c128 if (chan == SENSOR_CHAN_PROX) { in vcnl4040_attr_set()
198 if (trig->chan == SENSOR_CHAN_PROX) { in vcnl4040_trigger_set()
/Zephyr-latest/samples/sensor/proximity_polling/src/
Dmain.c36 sensor_channel_get(dev, SENSOR_CHAN_PROX, &pdata); in print_prox_data()
/Zephyr-latest/drivers/sensor/st/vl53l0x/
DKconfig21 Threshold used for proximity detection when sensor is used with SENSOR_CHAN_PROX.
Dvl53l0x.c253 || (chan == SENSOR_CHAN_PROX)); in vl53l0x_sample_fetch()
280 if (chan == SENSOR_CHAN_PROX) { in vl53l0x_channel_get()
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dperiphs.c72 SENSOR_CHAN_PROX, &val[1])) { in get_apds9960_val()
/Zephyr-latest/samples/shields/x_nucleo_53l0a1/src/
Dmain.c80 SENSOR_CHAN_PROX, in mode_show_presence()
/Zephyr-latest/drivers/sensor/vishay/vcnl36825t/
Dvcnl36825t.c166 case SENSOR_CHAN_PROX: in vcnl36825t_sample_fetch()
204 case SENSOR_CHAN_PROX: in vcnl36825t_channel_get()
Dvcnl36825t_trigger.c169 if (trig->chan != SENSOR_CHAN_PROX) { in vcnl36825t_trigger_set()
/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/
Dmain.c283 sensor_channel_get(tof_dev, SENSOR_CHAN_PROX, &prox); in main()
/Zephyr-latest/drivers/sensor/
Dsensor_shell.c64 [SENSOR_CHAN_PROX] = "prox",
423 case SENSOR_CHAN_PROX: { in sensor_shell_processing_callback()
485 case SENSOR_CHAN_PROX: { in sensor_shell_processing_callback()
Ddefault_rtio_sensor.c375 case SENSOR_CHAN_PROX: in sensor_natively_supported_channel_size_info()

12