Home
last modified time | relevance | path

Searched refs:stts22h (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/drivers/sensor/st/stts22h/
Dstts22h_trigger.c29 struct stts22h_data *stts22h = dev->data; in stts22h_trigger_set() local
42 stts22h->thsld_handler = handler; in stts22h_trigger_set()
43 stts22h->thsld_trigger = trig; in stts22h_trigger_set()
54 struct stts22h_data *stts22h = dev->data; in stts22h_handle_interrupt() local
61 if (stts22h->thsld_handler != NULL && in stts22h_handle_interrupt()
63 stts22h->thsld_handler(dev, stts22h->thsld_trigger); in stts22h_handle_interrupt()
72 struct stts22h_data *stts22h = in stts22h_gpio_callback() local
74 const struct stts22h_config *cfg = stts22h->dev->config; in stts22h_gpio_callback()
81 k_sem_give(&stts22h->gpio_sem); in stts22h_gpio_callback()
83 k_work_submit(&stts22h->work); in stts22h_gpio_callback()
[all …]
DCMakeLists.txt9 zephyr_library_sources(stts22h.c)
/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/src/
Dmain.c214 static void stts22h_config(const struct device *stts22h) in stts22h_config() argument
222 if (sensor_attr_set(stts22h, SENSOR_CHAN_AMBIENT_TEMP, in stts22h_config()
233 sensor_trigger_set(stts22h, &trig, stts22h_trigger_handler); in stts22h_config()
306 const struct device *const stts22h = DEVICE_DT_GET_ONE(st_stts22h); in main() local
324 if (!device_is_ready(stts22h)) { in main()
325 printk("%s: device not ready.\n", stts22h->name); in main()
329 stts22h_config(stts22h); in main()
372 if (sensor_sample_fetch(stts22h) < 0) { in main()
385 sensor_channel_get(stts22h, SENSOR_CHAN_AMBIENT_TEMP, &stts22h_temp); in main()
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/src/
Dmain.c80 static void stts22h_config(const struct device *stts22h) in stts22h_config() argument
88 if (sensor_attr_set(stts22h, SENSOR_CHAN_AMBIENT_TEMP, in stts22h_config()
99 sensor_trigger_set(stts22h, &trig, stts22h_trigger_handler); in stts22h_config()
308 const struct device *const stts22h = DEVICE_DT_GET_ONE(st_stts22h); in main() local
315 if (!device_is_ready(stts22h)) { in main()
316 printk("%s: device not ready.\n", stts22h->name); in main()
340 stts22h_config(stts22h); in main()
358 if (sensor_sample_fetch(stts22h) < 0) { in main()
393 sensor_channel_get(stts22h, SENSOR_CHAN_AMBIENT_TEMP, &stts22h_temp); in main()
/Zephyr-latest/drivers/sensor/st/
DCMakeLists.txt41 add_subdirectory_ifdef(CONFIG_STTS22H stts22h)
DKconfig40 source "drivers/sensor/st/stts22h/Kconfig"
/Zephyr-latest/boards/st/steval_stwinbx1/
Dsteval_stwinbx1.dts205 stts22h@3f {
206 compatible = "st,stts22h";
/Zephyr-latest/boards/st/sensortile_box_pro/
Dsensortile_box_pro.dts242 stts22h@38 {
243 compatible = "st,stts22h";
/Zephyr-latest/tests/drivers/build_all/sensor/
Di2c.dtsi24 #include <zephyr/dt-bindings/sensor/stts22h.h>
960 test_i2c_stts22h: stts22h@86 {
961 compatible = "st,stts22h";
/Zephyr-latest/boards/st/sensortile_box_pro/doc/
Dindex.rst348 https://www.st.com/en/mems-and-sensors/stts22h.html
/Zephyr-latest/boards/st/steval_stwinbx1/doc/
Dindex.rst379 https://www.st.com/en/mems-and-sensors/stts22h.html