Home
last modified time | relevance | path

Searched refs:stts751 (Results 1 – 9 of 9) sorted by relevance

/Zephyr-Core-3.5.0/drivers/sensor/stts751/
Dstts751_trigger.c27 struct stts751_data *stts751 = dev->data; in stts751_enable_int() local
30 return stts751_pin_event_route_set(stts751->ctx, en); in stts751_enable_int()
40 struct stts751_data *stts751 = dev->data; in stts751_trigger_set() local
48 stts751->thsld_handler = handler; in stts751_trigger_set()
49 stts751->thsld_trigger = trig; in stts751_trigger_set()
66 struct stts751_data *stts751 = dev->data; in stts751_handle_interrupt() local
70 stts751_status_reg_get(stts751->ctx, &status); in stts751_handle_interrupt()
72 if (stts751->thsld_handler != NULL && in stts751_handle_interrupt()
74 stts751->thsld_handler(dev, stts751->thsld_trigger); in stts751_handle_interrupt()
83 struct stts751_data *stts751 = in stts751_gpio_callback() local
[all …]
DCMakeLists.txt9 zephyr_library_sources(stts751.c)
/Zephyr-Core-3.5.0/samples/shields/x_nucleo_iks01a3/standard/src/
Dmain.c129 static void stts751_config(const struct device *stts751) in stts751_config() argument
137 if (sensor_attr_set(stts751, SENSOR_CHAN_ALL, in stts751_config()
148 sensor_trigger_set(stts751, &trig, stts751_trigger_handler); in stts751_config()
252 const struct device *const stts751 = DEVICE_DT_GET_ONE(st_stts751); in main() local
266 if (!device_is_ready(stts751)) { in main()
267 printk("%s: device not ready.\n", stts751->name); in main()
285 stts751_config(stts751); in main()
302 if (sensor_sample_fetch(stts751) < 0) { in main()
333 sensor_channel_get(stts751, SENSOR_CHAN_AMBIENT_TEMP, &temp3); in main()
/Zephyr-Core-3.5.0/samples/boards/sensortile_box/src/
Dmain.c204 static void stts751_config(const struct device *stts751) in stts751_config() argument
212 if (sensor_attr_set(stts751, SENSOR_CHAN_ALL, in stts751_config()
223 sensor_trigger_set(stts751, &trig, stts751_trigger_handler); in stts751_config()
297 const struct device *const stts751 = DEVICE_DT_GET_ONE(st_stts751); in main() local
317 if (!device_is_ready(stts751)) { in main()
318 printk("%s: device not ready.\n", stts751->name); in main()
333 stts751_config(stts751); in main()
374 if (sensor_sample_fetch(stts751) < 0) { in main()
399 sensor_channel_get(stts751, SENSOR_CHAN_AMBIENT_TEMP, &stts751_temp); in main()
/Zephyr-Core-3.5.0/boards/shields/x_nucleo_iks01a3/
Dx_nucleo_iks01a3.overlay28 stts751_x_nucleo_iks01a3: stts751@4a {
29 compatible = "st,stts751";
/Zephyr-Core-3.5.0/boards/arm/sensortile_box/
Dsensortile_box.dts126 stts751@38 {
127 compatible = "st,stts751";
/Zephyr-Core-3.5.0/drivers/sensor/
DCMakeLists.txt126 add_subdirectory_ifdef(CONFIG_STTS751 stts751)
DKconfig187 source "drivers/sensor/stts751/Kconfig"
/Zephyr-Core-3.5.0/tests/drivers/build_all/sensor/
Di2c.dtsi379 test_i2c_stts751: stts751@3c {
380 compatible = "st,stts751";