Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/samples/sensor/fxas21002/src/
Dmain.c13 static void trigger_handler(const struct device *dev, in trigger_handler() function
34 if (sensor_trigger_set(dev, &trig, trigger_handler)) { in main()
/Zephyr-Core-3.7.0/samples/sensor/apds9960/src/
Dmain.c17 static void trigger_handler(const struct device *dev, in trigger_handler() function
56 if (sensor_trigger_set(dev, &trig, trigger_handler)) { in main()
/Zephyr-Core-3.7.0/samples/sensor/sm351lt/src/
Dmain.c35 static void trigger_handler(const struct device *dev, in trigger_handler() function
71 rc = sensor_trigger_set(sensor, &trig, trigger_handler); in main()
/Zephyr-Core-3.7.0/drivers/sensor/microchip/mcp9808/
Dmcp9808_trigger.c80 if (data->trigger_handler) { in process_int()
81 data->trigger_handler(dev, data->trig); in process_int()
84 if (data->trigger_handler) { in process_int()
104 data->trigger_handler = handler; in mcp9808_trigger_set()
Dmcp9808.h70 sensor_trigger_handler_t trigger_handler; member
/Zephyr-Core-3.7.0/samples/sensor/bmg160/src/
Dmain.c72 static void trigger_handler(const struct device *bmg160, in trigger_handler() function
121 if (sensor_trigger_set(bmg160, &trig, trigger_handler) < 0) { in test_trigger_mode()
153 if (sensor_trigger_set(bmg160, &trig, trigger_handler) < 0) { in test_trigger_mode()
/Zephyr-Core-3.7.0/samples/sensor/fxos8700/src/
Dmain.c15 static void trigger_handler(const struct device *dev, in trigger_handler() function
73 if (sensor_trigger_set(dev, &trig, trigger_handler)) { in main()
/Zephyr-Core-3.7.0/samples/sensor/lis2dh/src/
Dmain.c59 static void trigger_handler(const struct device *dev, in trigger_handler() function
102 rc = sensor_trigger_set(sensor, &trig, trigger_handler); in main()
/Zephyr-Core-3.7.0/samples/sensor/amg88xx/src/
Dmain.c17 static void trigger_handler(const struct device *dev, in trigger_handler() function
80 if (sensor_trigger_set(dev, &trig, trigger_handler)) { in main()
/Zephyr-Core-3.7.0/samples/sensor/sht3xd/src/
Dmain.c18 static void trigger_handler(const struct device *dev, in trigger_handler() function
52 rc = sensor_trigger_set(dev, &trig, trigger_handler); in main()
/Zephyr-Core-3.7.0/samples/sensor/vcnl4040/src/
Dmain.c66 static void trigger_handler(const struct device *dev, in trigger_handler() function
114 if (sensor_trigger_set(dev, &trig, trigger_handler) < 0) { in test_trigger_mode()
/Zephyr-Core-3.7.0/samples/sensor/isl29035/src/
Dmain.c18 static void trigger_handler(const struct device *dev, in trigger_handler() function
89 rc = sensor_trigger_set(dev, &trig, trigger_handler); in process_sample()
/Zephyr-Core-3.7.0/samples/sensor/lsm6dso/src/
Dmain.c72 static void trigger_handler(const struct device *dev, in trigger_handler() function
88 if (sensor_trigger_set(dev, &trig, trigger_handler) != 0) { in test_trigger_mode()
/Zephyr-Core-3.7.0/samples/sensor/fdc2x1x/src/
Dmain.c19 static void trigger_handler(const struct device *dev, in trigger_handler() function
86 if (sensor_trigger_set(dev, &trig, trigger_handler)) { in main()
/Zephyr-Core-3.7.0/tests/drivers/sensor/temp_sensor/src/
Dmain.c46 static void trigger_handler(const struct device *temp_dev, in trigger_handler() function
96 rc = sensor_trigger_set(temp_dev, &trig, trigger_handler); in ZTEST()
/Zephyr-Core-3.7.0/samples/sensor/mcp9808/src/
Dmain.c82 static void trigger_handler(const struct device *dev, in trigger_handler() function
126 rc = sensor_trigger_set(dev, &sensor_trig, trigger_handler); in main()
/Zephyr-Core-3.7.0/samples/sensor/adt7420/src/
Dmain.c42 static void trigger_handler(const struct device *dev, in trigger_handler() function
122 ret = sensor_trigger_set(dev, &trig, trigger_handler); in process()
/Zephyr-Core-3.7.0/tests/drivers/sensor/generic/src/
Dmain.c143 static void trigger_handler(const struct device *dev, in trigger_handler() function
228 trigger_handler), in ZTEST()
260 trigger_handler), in ZTEST()
/Zephyr-Core-3.7.0/samples/sensor/grow_r502a/src/
Dmain.c115 static void trigger_handler(const struct device *dev, in trigger_handler() function
194 ret = sensor_trigger_set(dev, &trig, trigger_handler); in main()
/Zephyr-Core-3.7.0/drivers/sensor/espressif/pcnt_esp32/
Dpcnt_esp32.c48 sensor_trigger_handler_t trigger_handler; member
314 if (!data->trigger_handler) { in pcnt_esp32_isr()
318 data->trigger_handler(dev, data->trigger); in pcnt_esp32_isr()
340 data->trigger_handler = handler; in pcnt_esp32_trigger_set()
413 .trigger_handler = NULL,
/Zephyr-Core-3.7.0/samples/sensor/ccs811/src/
Dmain.c81 static void trigger_handler(const struct device *dev, in trigger_handler() function
177 rc = sensor_trigger_set(dev, &trig, trigger_handler); in main()
/Zephyr-Core-3.7.0/drivers/sensor/lm75/
Dlm75.c43 sensor_trigger_handler_t trigger_handler; member
227 data->trigger_handler = handler; in lm75_trigger_set()
235 sensor_trigger_handler_t handler = data->trigger_handler; in lm75_trigger_work_handler()
/Zephyr-Core-3.7.0/drivers/sensor/lm77/
Dlm77.c63 sensor_trigger_handler_t trigger_handler; member
238 data->trigger_handler = handler; in lm77_trigger_set()
246 sensor_trigger_handler_t handler = data->trigger_handler; in lm77_trigger_work_handler()
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi323/
Dbmi323.c54 sensor_trigger_handler_t trigger_handler; member
862 data->trigger_handler = handler; in bosch_bmi323_driver_api_trigger_set()
1166 if (data->trigger_handler != NULL) { in bosch_bmi323_irq_callback_handler()
1167 data->trigger_handler(data->dev, data->trigger); in bosch_bmi323_irq_callback_handler()
/Zephyr-Core-3.7.0/drivers/serial/
Duart_nrfx_uarte2.c334 static void trigger_handler(const struct device *dev) in trigger_handler() function
373 trigger_handler(dev); in evt_handler()