/Zephyr-latest/drivers/sensor/st/iis2dlpc/ |
D | iis2dlpc_trigger.c | 98 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 …]
|
D | iis2dlpc.c | 36 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()
|
D | CMakeLists.txt | 9 zephyr_library_sources(iis2dlpc.c)
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/src/ |
D | main.c | 51 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/ |
D | main.c | 54 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/ |
D | mikroe_accel13_click.overlay | 16 iis2dlpc_mikroe_accel13_click: iis2dlpc@18 { 17 compatible = "st,iis2dlpc";
|
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/src/ |
D | main.c | 103 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/ |
D | x_nucleo_iks02a1.overlay | 25 iis2dlpc_19_x_nucleo_iks02a1: iis2dlpc@19 { 26 compatible = "st,iis2dlpc";
|
D | x_nucleo_iks02a1_shub.overlay | 27 iis2dlpc_19_x_nucleo_iks02a1_shub: iis2dlpc@19 { 28 compatible = "st,iis2dlpc";
|
/Zephyr-latest/boards/shields/mikroe_accel13_click/doc/ |
D | index.rst | 47 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/ |
D | steval_stwinbx1.dts | 157 iis2dlpc: iis2dlpc@0 { label 158 compatible = "st,iis2dlpc";
|
/Zephyr-latest/drivers/sensor/st/ |
D | CMakeLists.txt | 9 add_subdirectory_ifdef(CONFIG_IIS2DLPC iis2dlpc)
|
D | Kconfig | 8 source "drivers/sensor/st/iis2dlpc/Kconfig"
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/ |
D | README.rst | 66 5:: iis2dlpc trig 809
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/ |
D | README.rst | 70 7:: iis2dlpc trig 1215
|
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/ |
D | README.rst | 76 1:: iis2dlpc trig 2021
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | spi.dtsi | 46 test_spi_iis2dlpc: iis2dlpc@5 { 47 compatible = "st,iis2dlpc";
|
D | i2c.dtsi | 17 #include <zephyr/dt-bindings/sensor/iis2dlpc.h> 269 test_i2c_iis2dlpc: iis2dlpc@27 { 270 compatible = "st,iis2dlpc";
|
/Zephyr-latest/boards/st/steval_stwinbx1/doc/ |
D | index.rst | 175 (`iis2dlpc datasheet`_) 391 https://www.st.com/en/mems-and-sensors/iis2dlpc.html
|