/Zephyr-latest/drivers/sensor/st/ism330dhcx/ |
D | ism330dhcx_trigger.c | 29 struct ism330dhcx_data *ism330dhcx = dev->data; in ism330dhcx_enable_t_int() local 36 ism330dhcx_temperature_raw_get(ism330dhcx->ctx, &buf); in ism330dhcx_enable_t_int() 44 ism330dhcx_read_reg(ism330dhcx->ctx, ISM330DHCX_INT2_CTRL, in ism330dhcx_enable_t_int() 47 return ism330dhcx_write_reg(ism330dhcx->ctx, ISM330DHCX_INT2_CTRL, in ism330dhcx_enable_t_int() 58 struct ism330dhcx_data *ism330dhcx = dev->data; in ism330dhcx_enable_xl_int() local 64 ism330dhcx_acceleration_raw_get(ism330dhcx->ctx, buf); in ism330dhcx_enable_xl_int() 71 ism330dhcx_read_reg(ism330dhcx->ctx, ISM330DHCX_INT1_CTRL, in ism330dhcx_enable_xl_int() 75 return ism330dhcx_write_reg(ism330dhcx->ctx, ISM330DHCX_INT1_CTRL, in ism330dhcx_enable_xl_int() 80 ism330dhcx_read_reg(ism330dhcx->ctx, ISM330DHCX_INT2_CTRL, in ism330dhcx_enable_xl_int() 83 return ism330dhcx_write_reg(ism330dhcx->ctx, ISM330DHCX_INT2_CTRL, in ism330dhcx_enable_xl_int() [all …]
|
D | CMakeLists.txt | 9 zephyr_library_sources(ism330dhcx.c)
|
D | ism330dhcx.c | 692 struct ism330dhcx_data *ism330dhcx = dev->data; in ism330dhcx_init_chip() local 695 ism330dhcx->dev = dev; in ism330dhcx_init_chip() 697 if (ism330dhcx_device_id_get(ism330dhcx->ctx, &chip_id) < 0) { in ism330dhcx_init_chip() 710 if (ism330dhcx_reset_set(ism330dhcx->ctx, 1) < 0) { in ism330dhcx_init_chip() 735 ism330dhcx->gyro_freq = ism330dhcx_odr_to_freq_val(cfg->gyro_odr); in ism330dhcx_init_chip() 742 if (ism330dhcx_fifo_mode_set(ism330dhcx->ctx, ISM330DHCX_BYPASS_MODE) < 0) { in ism330dhcx_init_chip() 747 if (ism330dhcx_block_data_update_set(ism330dhcx->ctx, 1) < 0) { in ism330dhcx_init_chip()
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/src/ |
D | main.c | 82 static void ism330dhcx_config(const struct device *ism330dhcx) in ism330dhcx_config() argument 90 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 98 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 108 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 116 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 127 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_MAGN_XYZ, in ism330dhcx_config() 139 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_acc_trig_handler); in ism330dhcx_config() 143 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_gyr_trig_handler); in ism330dhcx_config() 147 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_temp_trig_handler); in ism330dhcx_config() 160 const struct device *const ism330dhcx = DEVICE_DT_GET_ONE(st_ism330dhcx); in main() local [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/src/ |
D | main.c | 108 static void ism330dhcx_config(const struct device *ism330dhcx) in ism330dhcx_config() argument 116 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 124 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 134 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 142 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 153 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_acc_trigger_handler); in ism330dhcx_config() 157 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_gyr_trigger_handler); in ism330dhcx_config() 172 const struct device *const ism330dhcx = DEVICE_DT_GET_ONE(st_ism330dhcx); in main() local 183 if (!device_is_ready(ism330dhcx)) { in main() 184 printk("%s: device not ready.\n", ism330dhcx->name); in main() [all …]
|
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/src/ |
D | main.c | 188 static void ism330dhcx_config(const struct device *ism330dhcx) in ism330dhcx_config() argument 196 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 204 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 214 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 222 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 233 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_acc_trigger_handler); in ism330dhcx_config() 237 sensor_trigger_set(ism330dhcx, &trig, ism330dhcx_gyr_trigger_handler); in ism330dhcx_config() 310 const struct device *const ism330dhcx = DEVICE_DT_GET_ONE(st_ism330dhcx); in main() local 323 if (!device_is_ready(ism330dhcx)) { in main() 324 printk("%s: device not ready.\n", ism330dhcx->name); in main() [all …]
|
/Zephyr-latest/boards/shields/x_nucleo_iks02a1/ |
D | x_nucleo_iks02a1.overlay | 38 ism330dhcx_6b_x_nucleo_iks02a1: ism330dhcx@6b { 39 compatible = "st,ism330dhcx";
|
D | x_nucleo_iks02a1_shub.overlay | 34 ism330dhcx_6b_x_nucleo_iks02a1_shub: ism330dhcx@6b { 35 compatible = "st,ism330dhcx";
|
/Zephyr-latest/boards/st/stm32wb5mm_dk/ |
D | stm32wb5mm_dk.dts | 12 #include <zephyr/dt-bindings/sensor/ism330dhcx.h> 60 accel0 = &ism330dhcx; 191 ism330dhcx: ism330dhcx@6b { label 192 compatible = "st,ism330dhcx";
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/ |
D | README.rst | 67 5:: ism330dhcx acc trig 3332 68 5:: ism330dhcx gyr trig 1666
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/ |
D | README.rst | 71 7:: ism330dhcx acc trig 2494 72 7:: ism330dhcx gyr trig 2494
|
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/ |
D | README.rst | 78 1:: ism330dhcx acc trig 4447 79 1:: ism330dhcx gyr trig 2223
|
/Zephyr-latest/boards/st/steval_stwinbx1/ |
D | steval_stwinbx1.dts | 165 ism330dhcx: ism330dhcx@1 { label 166 compatible = "st,ism330dhcx";
|
/Zephyr-latest/drivers/sensor/st/ |
D | CMakeLists.txt | 14 add_subdirectory_ifdef(CONFIG_ISM330DHCX ism330dhcx)
|
D | Kconfig | 13 source "drivers/sensor/st/ism330dhcx/Kconfig"
|
/Zephyr-latest/boards/st/b_u585i_iot02a/ |
D | b_u585i_iot02a-common.dtsi | 181 ism330dhcx@6b { 182 compatible = "st,ism330dhcx";
|
/Zephyr-latest/boards/nxp/mimxrt1062_fmurt6/ |
D | mimxrt1062_fmurt6.dts | 311 ism330dhcx: ism330dhcx@0 { label 312 compatible = "st,ism330dhcx";
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | spi.dtsi | 67 test_spi_ism330dhcx: ism330dhcx@8 { 68 compatible = "st,ism330dhcx";
|
D | i2c.dtsi | 16 #include <zephyr/dt-bindings/sensor/ism330dhcx.h> 283 test_i2c_ism330dhcx: ism330dhcx@29 { 284 compatible = "st,ism330dhcx";
|
/Zephyr-latest/boards/st/steval_stwinbx1/doc/ |
D | index.rst | 171 (`ism330dhcx datasheet`_) 385 https://www.st.com/en/mems-and-sensors/ism330dhcx.html
|