Home
last modified time | relevance | path

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

123

/Zephyr-latest/samples/sensor/icm42605/src/
Dmain.c82 (void)sensor_trigger_set(dev, trig, NULL); in handle_icm42605_drdy()
113 if (sensor_trigger_set(icm42605, &tap_trigger, in main()
124 if (sensor_trigger_set(icm42605, &double_tap_trigger, in main()
135 if (sensor_trigger_set(icm42605, &data_trigger, in main()
/Zephyr-latest/samples/sensor/bmg160/src/
Dmain.c121 if (sensor_trigger_set(bmg160, &trig, trigger_handler) < 0) { in test_trigger_mode()
132 if (sensor_trigger_set(bmg160, &trig, NULL) < 0) { in test_trigger_mode()
153 if (sensor_trigger_set(bmg160, &trig, trigger_handler) < 0) { in test_trigger_mode()
165 if (sensor_trigger_set(bmg160, &trig, NULL) < 0) { in test_trigger_mode()
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/src/
Dmain.c113 sensor_trigger_set(lis2mdl, &trig, lis2mdl_trigger_handler); in lis2mdl_config()
136 sensor_trigger_set(lps22hh, &trig, lps22hh_trigger_handler); in lps22hh_config()
159 sensor_trigger_set(stts751, &trig, stts751_trigger_handler); in stts751_config()
190 sensor_trigger_set(lis2dw12, &trig, lis2dw12_trigger_handler); in lis2dw12_config()
239 sensor_trigger_set(lsm6dso, &trig, lsm6dso_acc_trig_handler); in lsm6dso_config()
243 sensor_trigger_set(lsm6dso, &trig, lsm6dso_gyr_trig_handler); in lsm6dso_config()
247 sensor_trigger_set(lsm6dso, &trig, lsm6dso_temp_trig_handler); in lsm6dso_config()
278 sensor_trigger_set(lis2de12, &trig, lis2de12_trigger_handler); in lis2de12_config()
/Zephyr-latest/samples/boards/st/sensortile_box/src/
Dmain.c112 sensor_trigger_set(lps22hh, &trig, lps22hh_trigger_handler); in lps22hh_config()
143 sensor_trigger_set(lis2dw12, &trig, lis2dw12_trigger_handler); in lis2dw12_config()
192 sensor_trigger_set(lsm6dso, &trig, lsm6dso_acc_trig_handler); in lsm6dso_config()
196 sensor_trigger_set(lsm6dso, &trig, lsm6dso_gyr_trig_handler); in lsm6dso_config()
200 sensor_trigger_set(lsm6dso, &trig, lsm6dso_temp_trig_handler); in lsm6dso_config()
223 sensor_trigger_set(stts751, &trig, stts751_trigger_handler); in stts751_config()
246 sensor_trigger_set(iis3dhhc, &trig, iis3dhhc_trigger_handler); in iis3dhhc_config()
/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/src/
Dmain.c107 sensor_trigger_set(lps22df, &trig, lps22df_trigger_handler); in lps22df_config()
156 sensor_trigger_set(lsm6dsv16x, &trig, lsm6dsv16x_acc_trig_handler); in lsm6dsv16x_config()
160 sensor_trigger_set(lsm6dsv16x, &trig, lsm6dsv16x_gyr_trig_handler); in lsm6dsv16x_config()
164 sensor_trigger_set(lsm6dsv16x, &trig, lsm6dsv16x_temp_trig_handler); in lsm6dsv16x_config()
187 sensor_trigger_set(lis2mdl, &trig, lis2mdl_trigger_handler); in lis2mdl_config()
210 sensor_trigger_set(lis2du12, &trig, lis2du12_trigger_handler); in lis2du12_config()
233 sensor_trigger_set(stts22h, &trig, stts22h_trigger_handler); in stts22h_config()
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/src/
Dmain.c78 sensor_trigger_set(iis2dlpc, &trig, iis2dlpc_trigger_handler); in iis2dlpc_config()
139 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_acc_trig_handler); in ism330dhcx_config()
143 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_gyr_trig_handler); in ism330dhcx_config()
147 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_temp_trig_handler); in ism330dhcx_config()
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/src/
Dmain.c81 sensor_trigger_set(iis2dlpc, &trig, iis2dlpc_trigger_handler); in iis2dlpc_config()
104 sensor_trigger_set(iis2mdc, &trig, iis2mdc_trigger_handler); in iis2mdc_config()
153 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_acc_trigger_handler); in ism330dhcx_config()
157 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_gyr_trigger_handler); in ism330dhcx_config()
/Zephyr-latest/tests/drivers/sensor/temp_sensor/src/
Dmain.c68 rc = sensor_trigger_set(temp_dev, &trig, NULL); in ZTEST()
99 rc = sensor_trigger_set(temp_dev, &trig, trigger_handler); in ZTEST()
105 rc = sensor_trigger_set(temp_dev, &trig, NULL); in ZTEST()
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/src/
Dmain.c99 sensor_trigger_set(stts22h, &trig, stts22h_trigger_handler); in stts22h_config()
130 sensor_trigger_set(iis2dlpc, &trig, iis2dlpc_trigger_handler); in iis2dlpc_config()
161 sensor_trigger_set(iis2iclx, &trig, iis2iclx_trigger_handler); in iis2iclx_config()
184 sensor_trigger_set(iis2mdc, &trig, iis2mdc_trigger_handler); in iis2mdc_config()
233 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_acc_trigger_handler); in ism330dhcx_config()
237 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_gyr_trigger_handler); in ism330dhcx_config()
/Zephyr-latest/samples/sensor/6dof_motion_drdy/src/
Dmain.c65 (void)sensor_trigger_set(dev, trig, NULL); in handle_6dof_motion_drdy()
88 if (sensor_trigger_set(dev, &data_trigger, handle_6dof_motion_drdy) < 0) { in main()
/Zephyr-latest/samples/sensor/mpu6050/src/
Dmain.c81 (void)sensor_trigger_set(dev, trig, NULL); in handle_mpu6050_drdy()
101 if (sensor_trigger_set(mpu6050, &trigger, in main()
/Zephyr-latest/samples/sensor/vcnl4040/src/
Dmain.c114 if (sensor_trigger_set(dev, &trig, trigger_handler) < 0) { in test_trigger_mode()
121 if (sensor_trigger_set(dev, &trig, NULL) < 0) { in test_trigger_mode()
/Zephyr-latest/tests/boards/nrf/qdec/src/
Dmain.c154 rc = sensor_trigger_set(qdec_dev, &qdec_trigger, qdec_trigger_handler); in ZTEST()
183 rc = sensor_trigger_set(qdec_dev, &qdec_trigger, NULL); in ZTEST()
214 rc = sensor_trigger_set(qdec_dev, &qdec_trigger, qdec_trigger_handler); in ZTEST()
253 rc = sensor_trigger_set(qdec_dev, &qdec_trigger, qdec_trigger_handler); in ZTEST()
259 rc = sensor_trigger_set(qdec_dev, &qdec_trigger, qdec_trigger_handler); in ZTEST()
265 rc = sensor_trigger_set(qdec_dev, &qdec_trigger, qdec_trigger_handler); in ZTEST()
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/src/
Dmain.c87 sensor_trigger_set(lis2mdl, &trig, lis2mdl_trigger_handler); in lis2mdl_config()
144 sensor_trigger_set(lsm6dso16is, &trig, lsm6dso16is_acc_trig_handler); in lsm6dso16is_config()
201 sensor_trigger_set(lsm6dsv16x, &trig, lsm6dsv16x_acc_trig_handler); in lsm6dsv16x_config()
224 sensor_trigger_set(lps22df, &trig, lps22df_trigger_handler); in lps22df_config()
255 sensor_trigger_set(lis2duxs12, &trig, lis2duxs12_acc_trig_handler); in lis2duxs12_config()
/Zephyr-latest/samples/sensor/tmp108/src/
Dmain.c90 sensor_trigger_set(tmp108, in enable_temp_alerts()
108 sensor_trigger_set(tmp108, in enable_one_shot()
/Zephyr-latest/doc/hardware/peripherals/sensor/
Dtap_count.c38 rc = sensor_trigger_set(accel0, &tap_count_state.trig, tap_handler); in main()
/Zephyr-latest/samples/sensor/fxas21002/src/
Dmain.c34 if (sensor_trigger_set(dev, &trig, trigger_handler)) { in main()
/Zephyr-latest/samples/sensor/tdk_apex/src/
Dmain.c66 (void)sensor_trigger_set(dev, trig, NULL); in handle_tdk_apex_drdy()
100 if (sensor_trigger_set(dev, &data_trigger, handle_tdk_apex_drdy) < 0) { in main()
/Zephyr-latest/samples/sensor/accel_trig/src/
Dmain.c44 if (sensor_trigger_set(dev, &trig, trigger_handler)) { in main()
/Zephyr-latest/samples/sensor/magn_trig/src/
Dmain.c44 if (sensor_trigger_set(dev, &trig, trigger_handler)) { in main()
/Zephyr-latest/samples/sensor/hts221/src/
Dmain.c63 if (sensor_trigger_set(dev, &trig, hts221_handler) < 0) { in main()
/Zephyr-latest/samples/sensor/lps22hh/src/
Dmain.c74 if (sensor_trigger_set(dev, &trig, lps22hh_handler) < 0) { in main()
/Zephyr-latest/samples/sensor/apds9960/src/
Dmain.c56 if (sensor_trigger_set(dev, &trig, trigger_handler)) { in main()
/Zephyr-latest/samples/sensor/sm351lt/src/
Dmain.c71 rc = sensor_trigger_set(sensor, &trig, trigger_handler); in main()
/Zephyr-latest/samples/sensor/sx9500/src/
Dmain.c37 ret = sensor_trigger_set(dev, &trig, sensor_trigger_handler); in setup_trigger()

123