/Zephyr-latest/drivers/sensor/st/lsm6dso/ |
D | lsm6dso_trigger.c | 130 struct lsm6dso_data *lsm6dso = dev->data; in lsm6dso_trigger_set() local 138 lsm6dso->handler_drdy_acc = handler; in lsm6dso_trigger_set() 139 lsm6dso->trig_drdy_acc = trig; in lsm6dso_trigger_set() 146 lsm6dso->handler_drdy_gyr = handler; in lsm6dso_trigger_set() 147 lsm6dso->trig_drdy_gyr = trig; in lsm6dso_trigger_set() 156 lsm6dso->handler_drdy_temp = handler; in lsm6dso_trigger_set() 157 lsm6dso->trig_drdy_temp = trig; in lsm6dso_trigger_set() 175 struct lsm6dso_data *lsm6dso = dev->data; in lsm6dso_handle_interrupt() local 194 if ((status.xlda) && (lsm6dso->handler_drdy_acc != NULL)) { in lsm6dso_handle_interrupt() 195 lsm6dso->handler_drdy_acc(dev, lsm6dso->trig_drdy_acc); in lsm6dso_handle_interrupt() [all …]
|
D | CMakeLists.txt | 9 zephyr_library_sources(lsm6dso.c)
|
D | lsm6dso.c | 708 struct lsm6dso_data *lsm6dso = dev->data; in lsm6dso_init_chip() local 781 lsm6dso->acc_gain = lsm6dso_accel_fs_val_to_gain(fs, cfg->accel_range & ACCEL_RANGE_DOUBLE); in lsm6dso_init_chip() 785 lsm6dso->accel_freq = lsm6dso_odr_to_freq_val(odr); in lsm6dso_init_chip() 809 lsm6dso->gyro_gain = (lsm6dso_gyro_fs_sens[fs] * GAIN_UNIT_G); in lsm6dso_init_chip() 813 lsm6dso->gyro_freq = lsm6dso_odr_to_freq_val(odr); in lsm6dso_init_chip() 952 DT_INST_FOREACH_STATUS_OKAY_VARGS(LSM6DSO_DEFINE, lsm6dso)
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/sensorhub/src/ |
D | main.c | 66 static void lsm6dso_config(const struct device *lsm6dso) in lsm6dso_config() argument 74 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso_config() 82 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso_config() 92 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_GYRO_XYZ, in lsm6dso_config() 100 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_GYRO_XYZ, in lsm6dso_config() 111 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_MAGN_XYZ, in lsm6dso_config() 119 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_PRESS, in lsm6dso_config() 128 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_HUMIDITY, in lsm6dso_config() 140 sensor_trigger_set(lsm6dso, &trig, lsm6dso_acc_trig_handler); in lsm6dso_config() 159 const struct device *const lsm6dso = DEVICE_DT_GET_ONE(st_lsm6dso); in main() local [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/src/ |
D | main.c | 194 static void lsm6dso_config(const struct device *lsm6dso) in lsm6dso_config() argument 202 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso_config() 210 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso_config() 220 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_GYRO_XYZ, in lsm6dso_config() 228 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_GYRO_XYZ, in lsm6dso_config() 239 sensor_trigger_set(lsm6dso, &trig, lsm6dso_acc_trig_handler); in lsm6dso_config() 243 sensor_trigger_set(lsm6dso, &trig, lsm6dso_gyr_trig_handler); in lsm6dso_config() 247 sensor_trigger_set(lsm6dso, &trig, lsm6dso_temp_trig_handler); in lsm6dso_config() 301 const struct device *const lsm6dso = DEVICE_DT_GET_ONE(st_lsm6dso); in main() local 328 if (!device_is_ready(lsm6dso)) { in main() [all …]
|
/Zephyr-latest/samples/boards/st/sensortile_box/src/ |
D | main.c | 147 static void lsm6dso_config(const struct device *lsm6dso) in lsm6dso_config() argument 155 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso_config() 163 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso_config() 173 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_GYRO_XYZ, in lsm6dso_config() 181 if (sensor_attr_set(lsm6dso, SENSOR_CHAN_GYRO_XYZ, in lsm6dso_config() 192 sensor_trigger_set(lsm6dso, &trig, lsm6dso_acc_trig_handler); in lsm6dso_config() 196 sensor_trigger_set(lsm6dso, &trig, lsm6dso_gyr_trig_handler); in lsm6dso_config() 200 sensor_trigger_set(lsm6dso, &trig, lsm6dso_temp_trig_handler); in lsm6dso_config() 296 const struct device *const lsm6dso = DEVICE_DT_GET_ONE(st_lsm6dso); in main() local 313 if (!device_is_ready(lsm6dso)) { in main() [all …]
|
/Zephyr-latest/boards/shields/x_nucleo_iks01a3/ |
D | x_nucleo_iks01a3_shub.overlay | 22 lsm6dso_6b_x_nucleo_iks01a3_shub: lsm6dso@6b { 23 compatible = "st,lsm6dso";
|
D | x_nucleo_iks01a3.overlay | 46 lsm6dso_6b_x_nucleo_iks01a3: lsm6dso@6b { 47 compatible = "st,lsm6dso";
|
/Zephyr-latest/samples/sensor/lsm6dso_i2c_on_i3c/boards/ |
D | mimxrt685_evk_mimxrt685s_cm33.overlay | 18 lsm6dso0: lsm6dso@6b0000000000000050 { 19 compatible = "st,lsm6dso";
|
/Zephyr-latest/samples/sensor/lsm6dso/ |
D | CMakeLists.txt | 5 project(lsm6dso) project
|
D | README.rst | 23 - LSM6DSO https://www.st.com/en/mems-and-sensors/lsm6dso.html 35 :zephyr-app: samples/sensor/lsm6dso
|
/Zephyr-latest/samples/sensor/lsm6dso_i2c_on_i3c/ |
D | CMakeLists.txt | 7 FILE(GLOB app_sources ../lsm6dso/src/*.c)
|
D | README.rst | 25 - LSM6DSO https://www.st.com/en/mems-and-sensors/lsm6dso.html
|
/Zephyr-latest/boards/shields/x_nucleo_iks01a3/boards/x_nucleo_iks01a3_shub/ |
D | stm32mp157c_dk2.overlay | 17 lsm6dso_x_nucleo_iks01a3: lsm6dso@6b {
|
/Zephyr-latest/boards/st/sensortile_box/ |
D | sensortile_box.dts | 53 accel1 = &lsm6dso; 150 lsm6dso: lsm6dso@1 { label 151 compatible = "st,lsm6dso";
|
/Zephyr-latest/boards/shields/x_nucleo_iks01a3/boards/x_nucleo_iks01a3/ |
D | stm32mp157c_dk2.overlay | 21 lsm6dso_x_nucleo_iks01a3: lsm6dso@6b {
|
/Zephyr-latest/boards/st/stm32l562e_dk/ |
D | stm32l562e_dk.dts | 30 accel0 = &lsm6dso;
|
D | stm32l562e_dk_common.dtsi | 175 lsm6dso: lsm6dso@6a { label 176 compatible = "st,lsm6dso";
|
/Zephyr-latest/boards/arduino/nicla_vision/ |
D | arduino_nicla_vision_stm32h747xx_m7.dts | 133 lsm6dso: lsm6dso@0 { label 134 compatible = "st,lsm6dso";
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/sensorhub/ |
D | README.rst | 78 1:: lsm6dso acc trig 208 79 1:: lsm6dso gyr trig 208
|
/Zephyr-latest/drivers/sensor/st/ |
D | CMakeLists.txt | 30 add_subdirectory_ifdef(CONFIG_LSM6DSO lsm6dso)
|
D | Kconfig | 29 source "drivers/sensor/st/lsm6dso/Kconfig"
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/ |
D | README.rst | 88 1:: lsm6dso acc trig 426 89 1:: lsm6dso gyr trig 426
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | spi.dtsi | 126 test_spi_lsm6dso: lsm6dso@10 { 127 compatible = "st,lsm6dso";
|
D | i2c.dtsi | 10 #include <zephyr/dt-bindings/sensor/lsm6dso.h> 395 test_i2c_lsm6dso: lsm6dso@39 { 396 compatible = "st,lsm6dso";
|