Home
last modified time | relevance | path

Searched refs:iis2dlpc (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/drivers/sensor/st/iis2dlpc/
Diis2dlpc_trigger.c98 struct iis2dlpc_data *iis2dlpc = dev->data; in iis2dlpc_trigger_set() local
104 iis2dlpc->drdy_handler = handler; in iis2dlpc_trigger_set()
105 iis2dlpc->drdy_trig = trig; in iis2dlpc_trigger_set()
113 iis2dlpc->tap_handler = handler; in iis2dlpc_trigger_set()
114 iis2dlpc->tap_trig = trig; in iis2dlpc_trigger_set()
117 iis2dlpc->double_tap_handler = handler; in iis2dlpc_trigger_set()
118 iis2dlpc->double_tap_trig = trig; in iis2dlpc_trigger_set()
123 iis2dlpc->activity_handler = handler; in iis2dlpc_trigger_set()
124 iis2dlpc->activity_trig = trig; in iis2dlpc_trigger_set()
220 struct iis2dlpc_data *iis2dlpc = in iis2dlpc_gpio_callback() local
[all …]
Diis2dlpc.c36 struct iis2dlpc_data *iis2dlpc = dev->data; in iis2dlpc_set_range() local
49 iis2dlpc->gain = IIS2DLPC_FS_TO_GAIN(fs, shift_gain); in iis2dlpc_set_range()
98 struct iis2dlpc_data *iis2dlpc = dev->data; in iis2dlpc_channel_get_acc() local
117 iis2dlpc_convert(pval++, iis2dlpc->acc[i], iis2dlpc->gain); in iis2dlpc_channel_get_acc()
227 struct iis2dlpc_data *iis2dlpc = dev->data; in iis2dlpc_sample_fetch() local
246 iis2dlpc->acc[0] = buf[0] >> shift; in iis2dlpc_sample_fetch()
247 iis2dlpc->acc[1] = buf[1] >> shift; in iis2dlpc_sample_fetch()
248 iis2dlpc->acc[2] = buf[2] >> shift; in iis2dlpc_sample_fetch()
283 struct iis2dlpc_data *iis2dlpc = dev->data; in iis2dlpc_init() local
288 iis2dlpc->dev = dev; in iis2dlpc_init()
DCMakeLists.txt9 zephyr_library_sources(iis2dlpc.c)
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/src/
Dmain.c51 static void iis2dlpc_config(const struct device *iis2dlpc) in iis2dlpc_config() argument
59 if (sensor_attr_set(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, in iis2dlpc_config()
67 if (sensor_attr_set(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, in iis2dlpc_config()
78 sensor_trigger_set(iis2dlpc, &trig, iis2dlpc_trigger_handler); in iis2dlpc_config()
159 const struct device *const iis2dlpc = DEVICE_DT_GET_ONE(st_iis2dlpc); in main() local
163 if (!device_is_ready(iis2dlpc)) { in main()
164 printk("%s: device not ready.\n", iis2dlpc->name); in main()
172 iis2dlpc_config(iis2dlpc); in main()
179 if (sensor_sample_fetch(iis2dlpc) < 0) { in main()
192 sensor_channel_get(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, accel2); in main()
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/src/
Dmain.c54 static void iis2dlpc_config(const struct device *iis2dlpc) in iis2dlpc_config() argument
62 if (sensor_attr_set(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, in iis2dlpc_config()
70 if (sensor_attr_set(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, in iis2dlpc_config()
81 sensor_trigger_set(iis2dlpc, &trig, iis2dlpc_trigger_handler); in iis2dlpc_config()
170 const struct device *const iis2dlpc = DEVICE_DT_GET_ONE(st_iis2dlpc); in main() local
175 if (!device_is_ready(iis2dlpc)) { in main()
176 printk("%s: device not ready.\n", iis2dlpc->name); in main()
188 iis2dlpc_config(iis2dlpc); in main()
196 if (sensor_sample_fetch(iis2dlpc) < 0) { in main()
216 sensor_channel_get(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, accel2); in main()
/Zephyr-latest/boards/shields/mikroe_accel13_click/
Dmikroe_accel13_click.overlay16 iis2dlpc_mikroe_accel13_click: iis2dlpc@18 {
17 compatible = "st,iis2dlpc";
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/src/
Dmain.c103 static void iis2dlpc_config(const struct device *iis2dlpc) in iis2dlpc_config() argument
111 if (sensor_attr_set(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, in iis2dlpc_config()
119 if (sensor_attr_set(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, in iis2dlpc_config()
130 sensor_trigger_set(iis2dlpc, &trig, iis2dlpc_trigger_handler); in iis2dlpc_config()
311 const struct device *const iis2dlpc = DEVICE_DT_GET_ONE(st_iis2dlpc); in main() local
327 if (!device_is_ready(iis2dlpc)) { in main()
328 printk("%s: device not ready.\n", iis2dlpc->name); in main()
343 iis2dlpc_config(iis2dlpc); in main()
376 if (sensor_sample_fetch(iis2dlpc) < 0) { in main()
394 sensor_channel_get(iis2dlpc, SENSOR_CHAN_ACCEL_XYZ, iis2dlpc_accel); in main()
/Zephyr-latest/boards/shields/x_nucleo_iks02a1/
Dx_nucleo_iks02a1.overlay25 iis2dlpc_19_x_nucleo_iks02a1: iis2dlpc@19 {
26 compatible = "st,iis2dlpc";
Dx_nucleo_iks02a1_shub.overlay27 iis2dlpc_19_x_nucleo_iks02a1_shub: iis2dlpc@19 {
28 compatible = "st,iis2dlpc";
/Zephyr-latest/boards/shields/mikroe_accel13_click/doc/
Dindex.rst47 https://www.st.com/en/mems-and-sensors/iis2dlpc.html
53 https://www.st.com/resource/en/datasheet/iis2dlpc.pdf
/Zephyr-latest/boards/st/steval_stwinbx1/
Dsteval_stwinbx1.dts157 iis2dlpc: iis2dlpc@0 { label
158 compatible = "st,iis2dlpc";
/Zephyr-latest/drivers/sensor/st/
DCMakeLists.txt9 add_subdirectory_ifdef(CONFIG_IIS2DLPC iis2dlpc)
DKconfig8 source "drivers/sensor/st/iis2dlpc/Kconfig"
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/
DREADME.rst66 5:: iis2dlpc trig 809
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/
DREADME.rst70 7:: iis2dlpc trig 1215
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/
DREADME.rst76 1:: iis2dlpc trig 2021
/Zephyr-latest/tests/drivers/build_all/sensor/
Dspi.dtsi46 test_spi_iis2dlpc: iis2dlpc@5 {
47 compatible = "st,iis2dlpc";
Di2c.dtsi17 #include <zephyr/dt-bindings/sensor/iis2dlpc.h>
269 test_i2c_iis2dlpc: iis2dlpc@27 {
270 compatible = "st,iis2dlpc";
/Zephyr-latest/boards/st/steval_stwinbx1/doc/
Dindex.rst175 (`iis2dlpc datasheet`_)
391 https://www.st.com/en/mems-and-sensors/iis2dlpc.html