Home
last modified time | relevance | path

Searched refs:lsm6dso (Results 1 – 25 of 31) sorted by relevance

12

/Zephyr-latest/drivers/sensor/st/lsm6dso/
Dlsm6dso_trigger.c130 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 …]
DCMakeLists.txt9 zephyr_library_sources(lsm6dso.c)
Dlsm6dso.c708 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/
Dmain.c66 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/
Dmain.c194 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/
Dmain.c147 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/
Dx_nucleo_iks01a3_shub.overlay22 lsm6dso_6b_x_nucleo_iks01a3_shub: lsm6dso@6b {
23 compatible = "st,lsm6dso";
Dx_nucleo_iks01a3.overlay46 lsm6dso_6b_x_nucleo_iks01a3: lsm6dso@6b {
47 compatible = "st,lsm6dso";
/Zephyr-latest/samples/sensor/lsm6dso_i2c_on_i3c/boards/
Dmimxrt685_evk_mimxrt685s_cm33.overlay18 lsm6dso0: lsm6dso@6b0000000000000050 {
19 compatible = "st,lsm6dso";
/Zephyr-latest/samples/sensor/lsm6dso/
DCMakeLists.txt5 project(lsm6dso) project
DREADME.rst23 - 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/
DCMakeLists.txt7 FILE(GLOB app_sources ../lsm6dso/src/*.c)
DREADME.rst25 - LSM6DSO https://www.st.com/en/mems-and-sensors/lsm6dso.html
/Zephyr-latest/boards/shields/x_nucleo_iks01a3/boards/x_nucleo_iks01a3_shub/
Dstm32mp157c_dk2.overlay17 lsm6dso_x_nucleo_iks01a3: lsm6dso@6b {
/Zephyr-latest/boards/st/sensortile_box/
Dsensortile_box.dts53 accel1 = &lsm6dso;
150 lsm6dso: lsm6dso@1 { label
151 compatible = "st,lsm6dso";
/Zephyr-latest/boards/shields/x_nucleo_iks01a3/boards/x_nucleo_iks01a3/
Dstm32mp157c_dk2.overlay21 lsm6dso_x_nucleo_iks01a3: lsm6dso@6b {
/Zephyr-latest/boards/st/stm32l562e_dk/
Dstm32l562e_dk.dts30 accel0 = &lsm6dso;
Dstm32l562e_dk_common.dtsi175 lsm6dso: lsm6dso@6a { label
176 compatible = "st,lsm6dso";
/Zephyr-latest/boards/arduino/nicla_vision/
Darduino_nicla_vision_stm32h747xx_m7.dts133 lsm6dso: lsm6dso@0 { label
134 compatible = "st,lsm6dso";
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/sensorhub/
DREADME.rst78 1:: lsm6dso acc trig 208
79 1:: lsm6dso gyr trig 208
/Zephyr-latest/drivers/sensor/st/
DCMakeLists.txt30 add_subdirectory_ifdef(CONFIG_LSM6DSO lsm6dso)
DKconfig29 source "drivers/sensor/st/lsm6dso/Kconfig"
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/
DREADME.rst88 1:: lsm6dso acc trig 426
89 1:: lsm6dso gyr trig 426
/Zephyr-latest/tests/drivers/build_all/sensor/
Dspi.dtsi126 test_spi_lsm6dso: lsm6dso@10 {
127 compatible = "st,lsm6dso";
Di2c.dtsi10 #include <zephyr/dt-bindings/sensor/lsm6dso.h>
395 test_i2c_lsm6dso: lsm6dso@39 {
396 compatible = "st,lsm6dso";

12