/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub2/src/ |
D | main.c | 24 static void lsm6dso16is_config(const struct device *lsm6dso16is) in lsm6dso16is_config() argument 28 /* set LSM6DSO16IS accel sampling frequency to 208 Hz */ in lsm6dso16is_config() 32 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config() 34 printk("Cannot set sampling frequency for LSM6DSO16IS accel\n"); in lsm6dso16is_config() 40 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config() 42 printk("Cannot set full scale for LSM6DSO16IS accel\n"); in lsm6dso16is_config() 46 /* set LSM6DSO16IS gyro sampling frequency to 208 Hz */ in lsm6dso16is_config() 50 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_GYRO_XYZ, in lsm6dso16is_config() 52 printk("Cannot set sampling frequency for LSM6DSO16IS gyro\n"); in lsm6dso16is_config() 58 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_GYRO_XYZ, in lsm6dso16is_config() [all …]
|
/Zephyr-latest/drivers/sensor/st/lsm6dso16is/ |
D | lsm6dso16is_trigger.c | 1 /* ST Microelectronics LSM6DSO16IS 6-axis IMU sensor driver 8 * https://www.st.com/resource/en/datasheet/lsm6dso16is.pdf 18 #include "lsm6dso16is.h" 20 LOG_MODULE_DECLARE(LSM6DSO16IS, CONFIG_SENSOR_LOG_LEVEL); 157 struct lsm6dso16is_data *lsm6dso16is = dev->data; in lsm6dso16is_trigger_set() local 165 lsm6dso16is->handler_drdy_acc = handler; in lsm6dso16is_trigger_set() 166 lsm6dso16is->trig_drdy_acc = trig; in lsm6dso16is_trigger_set() 173 lsm6dso16is->handler_drdy_gyr = handler; in lsm6dso16is_trigger_set() 174 lsm6dso16is->trig_drdy_gyr = trig; in lsm6dso16is_trigger_set() 183 lsm6dso16is->handler_drdy_temp = handler; in lsm6dso16is_trigger_set() [all …]
|
D | Kconfig | 1 # ST Microelectronics LSM6DSO16IS 6-axis IMU sensor driver 6 menuconfig LSM6DSO16IS config 7 bool "LSM6DSO16IS I2C/SPI accelerometer and gyroscope Chip" 16 Enable driver for LSM6DSO16IS accelerometer and gyroscope 19 if LSM6DSO16IS 97 endif # LSM6DSO16IS
|
D | CMakeLists.txt | 1 # ST Microelectronics LSM6DSO16IS 6-axis IMU sensor driver 9 zephyr_library_sources(lsm6dso16is.c)
|
D | lsm6dso16is.h | 1 /* ST Microelectronics LSM6DSO16IS 6-axis IMU sensor driver 8 * https://www.st.com/resource/en/datasheet/lsm6dso16is.pdf
|
D | lsm6dso16is.c | 1 /* ST Microelectronics LSM6DSO16IS 6-axis IMU sensor driver 8 * https://www.st.com/resource/en/datasheet/lsm6dso16is.pdf 21 #include "lsm6dso16is.h" 23 LOG_MODULE_REGISTER(LSM6DSO16IS, CONFIG_SENSOR_LOG_LEVEL); 741 struct lsm6dso16is_data *lsm6dso16is = dev->data; in lsm6dso16is_init_chip() local 746 * register and the register used for a SW reset. If the lsm6dso16is wasn't on the user in lsm6dso16is_init_chip() 778 lsm6dso16is->acc_gain = lsm6dso16is_accel_fs_map[fs] * GAIN_UNIT_XL / 2; in lsm6dso16is_init_chip() 793 lsm6dso16is->gyro_gain = (lsm6dso16is_gyro_fs_sens[fs] * GAIN_UNIT_G); in lsm6dso16is_init_chip() 797 lsm6dso16is->gyro_freq = lsm6dso16is_odr_to_freq_val(odr); in lsm6dso16is_init_chip() 847 #warning "LSM6DSO16IS driver enabled without any devices"
|
D | lsm6dso16is_shub.c | 1 /* ST Microelectronics LSM6DSO16IS 6-axis IMU sensor driver 8 * https://www.st.com/resource/en/datasheet/lsm6dso16is.pdf 21 #include "lsm6dso16is.h" 23 LOG_MODULE_DECLARE(LSM6DSO16IS, CONFIG_SENSOR_LOG_LEVEL);
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub2/ |
D | README.rst | 12 This sample enables LSM6DSO16IS IMU in sensorhub mode with LIS2MDL magnetometer and 17 - LSM6DSO16IS 6-Axis acceleration and angular velocity 18 - LSM6DSO16IS (from LIS2MDL) 3-Axis magnetic field intensity 19 - LSM6DSO16IS (from LPS22DF) ambient temperature and atmospheric pressure 48 LSM6DSO16IS: Accel (m.s-2): x: 0.081, y: -0.177, z: 9.945 49 LSM6DSO16IS: GYro (dps): x: 0.001, y: -0.000, z: 0.004 50 LSM6DSO16IS: Magn (gauss): x: 0.217, y: 0.015, z: -0.415 51 LSM6DSO16IS: Temperature: 20.8 C 52 LSM6DSO16IS: Pressure:99.756 kpa 53 736:: lsm6dso16is acc trig 314944
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/src/ |
D | main.c | 91 static void lsm6dso16is_config(const struct device *lsm6dso16is) in lsm6dso16is_config() argument 97 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config() 99 printk("Cannot set mode for LSM6DSO16IS accel\n"); in lsm6dso16is_config() 103 /* set LSM6DSO16IS accel sampling frequency to 208 Hz */ in lsm6dso16is_config() 107 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config() 109 printk("Cannot set sampling frequency for LSM6DSO16IS accel\n"); in lsm6dso16is_config() 115 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config() 117 printk("Cannot set full scale for LSM6DSO16IS accel\n"); in lsm6dso16is_config() 121 /* set LSM6DSO16IS gyro sampling frequency to 208 Hz */ in lsm6dso16is_config() 125 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_GYRO_XYZ, in lsm6dso16is_config() [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,lsm6dso16is-i2c.yaml | 5 STMicroelectronics LSM6DSO16IS 6-axis IMU (Inertial Measurement Unit) sensor 8 compatible: "st,lsm6dso16is" 10 include: ["i2c-device.yaml", "st,lsm6dso16is-common.yaml"]
|
D | st,lsm6dso16is-spi.yaml | 5 STMicroelectronics LSM6DSO16IS 6-axis IMU (Inertial Measurement Unit) sensor 8 compatible: "st,lsm6dso16is" 10 include: ["spi-device.yaml", "st,lsm6dso16is-common.yaml"]
|
D | st,lsm6dso16is-common.yaml | 6 a .dts or .dtsi file you may include lsm6dso16is.h and use the macros 10 #include <zephyr/dt-bindings/sensor/lsm6dso16is.h> 12 lsm6dso16is: lsm6dso16is@0 {
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/ |
D | README.rst | 16 - LSM6DSO16IS 6-Axis acceleration and angular velocity 50 LSM6DSO16IS: Accel (m.s-2): x: -0.167, y: -0.249, z: 9.954 51 LSM6DSO16IS: GYro (dps): x: 0.047, y: -0.052, z: -0.042 52 LSM6DSO16IS: Temperature: 25.8 C 61 10:: lsm6dso16is acc trig 3892
|
/Zephyr-latest/boards/shields/x_nucleo_iks4a1/ |
D | x_nucleo_iks4a1_shub2.overlay | 14 lsm6dso16is_6a_x_nucleo_iks4a1_shub: lsm6dso16is@6a { 15 compatible = "st,lsm6dso16is";
|
D | x_nucleo_iks4a1.overlay | 18 lsm6dso16is_6a_x_nucleo_iks4a1: lsm6dso16is@6a { 19 compatible = "st,lsm6dso16is";
|
/Zephyr-latest/boards/shields/x_nucleo_iks4a1/doc/ |
D | index.rst | 10 allows application development with features like sensor HUB (LSM6DSO16IS and 26 - LSM6DSO16IS: MEMS 3D accelerometer (±2/±4/±8/±16 g) + 3D gyroscope 80 Mode 2: LSM6DSO16IS SensorHub Mode (SHUB2) 104 I2C bus "SENS_I2C". LSM6DSO16IS, LIS2DUXS12 and SHT40AD1B remains connected 117 as for LSM6DSO16IS and the LSM6DSV16X. In this configuration, may be necessary 119 avoid an address conflict on I2C bus with the LSM6DSO16IS and the LSM6DSV16X. 127 Mode 5: LSM6DSO16IS as Qvar controller 131 (by plugging it on JP6 and JP7 connectors) through the LSM6DSO16IS.
|
/Zephyr-latest/drivers/sensor/st/ |
D | CMakeLists.txt | 31 add_subdirectory_ifdef(CONFIG_LSM6DSO16IS lsm6dso16is)
|
D | Kconfig | 30 source "drivers/sensor/st/lsm6dso16is/Kconfig"
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub1/ |
D | README.rst | 53 16:: lsm6dso16is acc trig 6432
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | spi.dtsi | 250 test_spi_lsm6dso16is: lsm6dso16is@21 { 251 compatible = "st,lsm6dso16is";
|
D | i2c.dtsi | 11 #include <zephyr/dt-bindings/sensor/lsm6dso16is.h> 696 test_i2c_lsm6dso16is: lsm6dso16is@68 { 697 compatible = "st,lsm6dso16is";
|