Home
last modified time | relevance | path

Searched refs:ism330dhcx (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/drivers/sensor/st/ism330dhcx/
Dism330dhcx_trigger.c29 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 …]
DCMakeLists.txt9 zephyr_library_sources(ism330dhcx.c)
Dism330dhcx.c692 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/
Dmain.c82 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/
Dmain.c108 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/
Dmain.c188 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/
Dx_nucleo_iks02a1.overlay38 ism330dhcx_6b_x_nucleo_iks02a1: ism330dhcx@6b {
39 compatible = "st,ism330dhcx";
Dx_nucleo_iks02a1_shub.overlay34 ism330dhcx_6b_x_nucleo_iks02a1_shub: ism330dhcx@6b {
35 compatible = "st,ism330dhcx";
/Zephyr-latest/boards/st/stm32wb5mm_dk/
Dstm32wb5mm_dk.dts12 #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/
DREADME.rst67 5:: ism330dhcx acc trig 3332
68 5:: ism330dhcx gyr trig 1666
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/
DREADME.rst71 7:: ism330dhcx acc trig 2494
72 7:: ism330dhcx gyr trig 2494
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/
DREADME.rst78 1:: ism330dhcx acc trig 4447
79 1:: ism330dhcx gyr trig 2223
/Zephyr-latest/boards/st/steval_stwinbx1/
Dsteval_stwinbx1.dts165 ism330dhcx: ism330dhcx@1 { label
166 compatible = "st,ism330dhcx";
/Zephyr-latest/drivers/sensor/st/
DCMakeLists.txt14 add_subdirectory_ifdef(CONFIG_ISM330DHCX ism330dhcx)
DKconfig13 source "drivers/sensor/st/ism330dhcx/Kconfig"
/Zephyr-latest/boards/st/b_u585i_iot02a/
Db_u585i_iot02a-common.dtsi181 ism330dhcx@6b {
182 compatible = "st,ism330dhcx";
/Zephyr-latest/boards/nxp/mimxrt1062_fmurt6/
Dmimxrt1062_fmurt6.dts311 ism330dhcx: ism330dhcx@0 { label
312 compatible = "st,ism330dhcx";
/Zephyr-latest/tests/drivers/build_all/sensor/
Dspi.dtsi67 test_spi_ism330dhcx: ism330dhcx@8 {
68 compatible = "st,ism330dhcx";
Di2c.dtsi16 #include <zephyr/dt-bindings/sensor/ism330dhcx.h>
283 test_i2c_ism330dhcx: ism330dhcx@29 {
284 compatible = "st,ism330dhcx";
/Zephyr-latest/boards/st/steval_stwinbx1/doc/
Dindex.rst171 (`ism330dhcx datasheet`_)
385 https://www.st.com/en/mems-and-sensors/ism330dhcx.html