Home
last modified time | relevance | path

Searched refs:lsm6dso16is (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub2/src/
Dmain.c24 static void lsm6dso16is_config(const struct device *lsm6dso16is) in lsm6dso16is_config() argument
32 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config()
40 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config()
50 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_GYRO_XYZ, in lsm6dso16is_config()
58 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_GYRO_XYZ, in lsm6dso16is_config()
69 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_MAGN_XYZ, in lsm6dso16is_config()
76 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_PRESS, in lsm6dso16is_config()
84 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_HUMIDITY, in lsm6dso16is_config()
95 sensor_trigger_set(lsm6dso16is, &trig, lsm6dso16is_acc_trig_handler); in lsm6dso16is_config()
112 const struct device *const lsm6dso16is = DEVICE_DT_GET_ONE(st_lsm6dso16is); in main() local
[all …]
/Zephyr-latest/drivers/sensor/st/lsm6dso16is/
Dlsm6dso16is_trigger.c157 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()
184 lsm6dso16is->trig_drdy_temp = trig; in lsm6dso16is_trigger_set()
202 struct lsm6dso16is_data *lsm6dso16is = dev->data; in lsm6dso16is_handle_interrupt() local
221 if ((status.xlda) && (lsm6dso16is->handler_drdy_acc != NULL)) { in lsm6dso16is_handle_interrupt()
222 lsm6dso16is->handler_drdy_acc(dev, lsm6dso16is->trig_drdy_acc); in lsm6dso16is_handle_interrupt()
[all …]
DCMakeLists.txt9 zephyr_library_sources(lsm6dso16is.c)
Dlsm6dso16is.c741 struct lsm6dso16is_data *lsm6dso16is = dev->data; in lsm6dso16is_init_chip() local
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()
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/src/
Dmain.c91 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()
107 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config()
115 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_ACCEL_XYZ, in lsm6dso16is_config()
125 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_GYRO_XYZ, in lsm6dso16is_config()
133 if (sensor_attr_set(lsm6dso16is, SENSOR_CHAN_GYRO_XYZ, in lsm6dso16is_config()
144 sensor_trigger_set(lsm6dso16is, &trig, lsm6dso16is_acc_trig_handler); in lsm6dso16is_config()
272 const struct device *const lsm6dso16is = DEVICE_DT_GET_ONE(st_lsm6dso16is); in main() local
278 if (!device_is_ready(lsm6dso16is)) { in main()
279 printk("%s: device not ready.\n", lsm6dso16is->name); in main()
[all …]
/Zephyr-latest/boards/shields/x_nucleo_iks4a1/
Dx_nucleo_iks4a1_shub2.overlay14 lsm6dso16is_6a_x_nucleo_iks4a1_shub: lsm6dso16is@6a {
15 compatible = "st,lsm6dso16is";
Dx_nucleo_iks4a1.overlay18 lsm6dso16is_6a_x_nucleo_iks4a1: lsm6dso16is@6a {
19 compatible = "st,lsm6dso16is";
/Zephyr-latest/drivers/sensor/st/
DCMakeLists.txt31 add_subdirectory_ifdef(CONFIG_LSM6DSO16IS lsm6dso16is)
DKconfig30 source "drivers/sensor/st/lsm6dso16is/Kconfig"
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub1/
DREADME.rst53 16:: lsm6dso16is acc trig 6432
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub2/
DREADME.rst53 736:: lsm6dso16is acc trig 314944
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/
DREADME.rst61 10:: lsm6dso16is acc trig 3892
/Zephyr-latest/tests/drivers/build_all/sensor/
Dspi.dtsi250 test_spi_lsm6dso16is: lsm6dso16is@21 {
251 compatible = "st,lsm6dso16is";
Di2c.dtsi11 #include <zephyr/dt-bindings/sensor/lsm6dso16is.h>
696 test_i2c_lsm6dso16is: lsm6dso16is@68 {
697 compatible = "st,lsm6dso16is";