Searched full:lis2de12 (Results 1 – 16 of 16) sorted by relevance
/Zephyr-latest/drivers/sensor/st/lis2de12/ |
D | lis2de12_trigger.c | 1 /* ST Microelectronics LIS2DE12 3-axis accelerometer sensor driver 8 * https://www.st.com/resource/en/datasheet/lis2de12.pdf 18 #include "lis2de12.h" 20 LOG_MODULE_DECLARE(LIS2DE12, CONFIG_SENSOR_LOG_LEVEL); 59 struct lis2de12_data *lis2de12 = dev->data; in lis2de12_trigger_set() local 68 lis2de12->handler_drdy_acc = handler; in lis2de12_trigger_set() 69 lis2de12->trig_drdy_acc = trig; in lis2de12_trigger_set() 88 struct lis2de12_data *lis2de12 = dev->data; in lis2de12_handle_interrupt() local 104 if ((status.zyxda) && (lis2de12->handler_drdy_acc != NULL)) { in lis2de12_handle_interrupt() 105 lis2de12->handler_drdy_acc(dev, lis2de12->trig_drdy_acc); in lis2de12_handle_interrupt() [all …]
|
D | Kconfig | 1 # ST Microelectronics LIS2DE12 3-axis accelerometer sensor driver 6 menuconfig LIS2DE12 config 7 bool "LIS2DE12 I2C/SPI smartxl Chip" 16 Enable driver for LIS2DE12 smartxl sensor. 18 if LIS2DE12 20 module = LIS2DE12 30 endif # LIS2DE12
|
D | CMakeLists.txt | 1 # ST Microelectronics LIS2DE12 3-axis accelerometer sensor driver 9 zephyr_library_sources(lis2de12.c)
|
D | lis2de12.h | 1 /* ST Microelectronics LIS2DE12 3-axis accelerometer sensor driver 8 * https://www.st.com/resource/en/datasheet/lis2de12.pdf
|
D | lis2de12.c | 1 /* ST Microelectronics LIS2DE12 3-axis accelerometer sensor driver 8 * https://www.st.com/resource/en/datasheet/lis2de12.pdf 22 #include "lis2de12.h" 24 LOG_MODULE_REGISTER(LIS2DE12, CONFIG_SENSOR_LOG_LEVEL); 319 struct lis2de12_data *lis2de12 = dev->data; in lis2de12_init_chip() local 347 lis2de12->acc_gain = lis2de12_accel_fs_map[fs].gain; in lis2de12_init_chip()
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,lis2de12-i2c.yaml | 5 STMicroelectronics LIS2DE12 3-axis ultra-low power accelerometer sensor 8 compatible: "st,lis2de12" 10 include: ["i2c-device.yaml", "st,lis2de12-common.yaml"]
|
D | st,lis2de12-spi.yaml | 5 STMicroelectronics LIS2DE12 3-axis ultra-low power accelerometer sensor 8 compatible: "st,lis2de12" 10 include: ["spi-device.yaml", "st,lis2de12-common.yaml"]
|
D | st,lis2de12-common.yaml | 6 file you may include lis2de12.h and use the macros defined there. 9 #include <zephyr/dt-bindings/sensor/lis2de12.h> 11 lis2de12: lis2de12@0 {
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/src/ |
D | main.c | 251 static void lis2de12_config(const struct device *lis2de12) in lis2de12_config() argument 255 /* set LIS2DE12 accel/gyro sampling frequency to 100 Hz */ in lis2de12_config() 259 if (sensor_attr_set(lis2de12, SENSOR_CHAN_ACCEL_XYZ, in lis2de12_config() 261 printk("Cannot set sampling frequency for LIS2DE12 accel\n"); in lis2de12_config() 267 if (sensor_attr_set(lis2de12, SENSOR_CHAN_ACCEL_XYZ, in lis2de12_config() 269 printk("Cannot set sampling frequency for LIS2DE12 gyro\n"); in lis2de12_config() 278 sensor_trigger_set(lis2de12, &trig, lis2de12_trigger_handler); in lis2de12_config() 304 const struct device *const lis2de12 = DEVICE_DT_GET_ANY(st_lis2de12); in main() local 332 if (device_is_ready(lis2de12)) { in main() 335 printf("Device %s is not ready\n", lis2de12->name); in main() [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/ |
D | app.overlay | 13 lis2de18_18_x_nucleo_iks01a3: lis2de12@18 { 14 compatible = "st,lis2de12";
|
D | README.rst | 53 - LIS2DE12
|
/Zephyr-latest/drivers/sensor/st/ |
D | CMakeLists.txt | 15 add_subdirectory_ifdef(CONFIG_LIS2DE12 lis2de12)
|
D | Kconfig | 14 source "drivers/sensor/st/lis2de12/Kconfig"
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | spi.dtsi | 322 test_spi_lis2de12: lis2de12@29 { 323 compatible = "st,lis2de12";
|
D | i2c.dtsi | 22 #include <zephyr/dt-bindings/sensor/lis2de12.h> 870 test_i2c_lis2de12: lis2de12@80 { 871 compatible = "st,lis2de12";
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.6.rst | 603 * Added ST LIS2DE12 accelerometer sensor driver.
|