/Zephyr-latest/drivers/sensor/st/iis2mdc/ |
D | iis2mdc_trigger.c | 1 /* ST Microelectronics IIS2MDC 3-axis magnetometer sensor 8 * https://www.st.com/resource/en/datasheet/iis2mdc.pdf 17 #include "iis2mdc.h" 19 LOG_MODULE_DECLARE(IIS2MDC, CONFIG_SENSOR_LOG_LEVEL); 23 struct iis2mdc_data *iis2mdc = dev->data; in iis2mdc_enable_int() local 26 return iis2mdc_drdy_on_pin_set(iis2mdc->ctx, enable); in iis2mdc_enable_int() 34 struct iis2mdc_data *iis2mdc = dev->data; in iis2mdc_trigger_set() local 38 iis2mdc->handler_drdy = handler; in iis2mdc_trigger_set() 39 iis2mdc->trig_drdy = trig; in iis2mdc_trigger_set() 42 iis2mdc_magnetic_raw_get(iis2mdc->ctx, raw); in iis2mdc_trigger_set() [all …]
|
D | iis2mdc.c | 1 /* ST Microelectronics IIS2MDC 3-axis magnetometer sensor 8 * https://www.st.com/resource/en/datasheet/iis2mdc.pdf 18 #include "iis2mdc.h" 22 LOG_MODULE_REGISTER(IIS2MDC, CONFIG_SENSOR_LOG_LEVEL); 28 struct iis2mdc_data *iis2mdc = dev->data; in iis2mdc_set_odr() local 48 if (iis2mdc_data_rate_set(iis2mdc->ctx, odr)) { in iis2mdc_set_odr() 60 struct iis2mdc_data *iis2mdc = dev->data; in iis2mdc_set_hard_iron() local 69 return iis2mdc_mag_user_offset_set(iis2mdc->ctx, offset); in iis2mdc_set_hard_iron() 79 struct iis2mdc_data *iis2mdc = dev->data; in iis2mdc_channel_get_mag() local 98 cval = iis2mdc->mag[i] * 1500; in iis2mdc_channel_get_mag() [all …]
|
D | Kconfig | 4 menuconfig IIS2MDC config 5 bool "IIS2MDC Magnetometer" 14 Enable driver for IIS2MDC I2C-based magnetometer sensor. 16 if IIS2MDC 62 endif # IIS2MDC
|
D | iis2mdc_i2c.c | 1 /* ST Microelectronics IIS2MDC 3-axis magnetometer sensor 8 * https://www.st.com/resource/en/datasheet/iis2mdc.pdf 16 #include "iis2mdc.h" 20 LOG_MODULE_DECLARE(IIS2MDC, CONFIG_SENSOR_LOG_LEVEL);
|
D | iis2mdc_spi.c | 1 /* ST Microelectronics IIS2MDC 3-axis magnetometer sensor 8 * https://www.st.com/resource/en/datasheet/iis2mdc.pdf 14 #include "iis2mdc.h" 21 LOG_MODULE_DECLARE(IIS2MDC, CONFIG_SENSOR_LOG_LEVEL);
|
D | CMakeLists.txt | 8 zephyr_library_sources(iis2mdc.c)
|
D | iis2mdc.h | 1 /* ST Microelectronics IIS2MDC 3-axis magnetometer sensor 8 * https://www.st.com/resource/en/datasheet/iis2mdc.pdf
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/src/ |
D | main.c | 85 static void iis2mdc_config(const struct device *iis2mdc) in iis2mdc_config() argument 89 /* set IIS2MDC sampling frequency to 100 Hz */ in iis2mdc_config() 93 if (sensor_attr_set(iis2mdc, SENSOR_CHAN_ALL, in iis2mdc_config() 95 printk("Cannot set sampling frequency for IIS2MDC\n"); in iis2mdc_config() 104 sensor_trigger_set(iis2mdc, &trig, iis2mdc_trigger_handler); in iis2mdc_config() 171 const struct device *const iis2mdc = DEVICE_DT_GET_ONE(st_iis2mdc); in main() local 179 if (!device_is_ready(iis2mdc)) { in main() 180 printk("%s: device not ready.\n", iis2mdc->name); in main() 189 iis2mdc_config(iis2mdc); in main() 202 if (sensor_sample_fetch(iis2mdc) < 0) { in main() [all …]
|
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/src/ |
D | main.c | 165 static void iis2mdc_config(const struct device *iis2mdc) in iis2mdc_config() argument 169 /* set IIS2MDC sampling frequency to 100 Hz */ in iis2mdc_config() 173 if (sensor_attr_set(iis2mdc, SENSOR_CHAN_ALL, in iis2mdc_config() 175 printk("Cannot set sampling frequency for IIS2MDC\n"); in iis2mdc_config() 184 sensor_trigger_set(iis2mdc, &trig, iis2mdc_trigger_handler); in iis2mdc_config() 309 const struct device *const iis2mdc = DEVICE_DT_GET_ONE(st_iis2mdc); in main() local 319 if (!device_is_ready(iis2mdc)) { in main() 320 printk("%s: device not ready.\n", iis2mdc->name); in main() 341 iis2mdc_config(iis2mdc); in main() 364 if (sensor_sample_fetch(iis2mdc) < 0) { in main() [all …]
|
/Zephyr-latest/boards/shields/x_nucleo_iks02a1/ |
D | x_nucleo_iks02a1.overlay | 13 * ISM330DHCX, IIS2MDC and IIS2DLPC sensors are accessible from the main board mcu. 32 iis2mdc_x_nucleo_iks02a1: iis2mdc@1e { 33 compatible = "st,iis2mdc";
|
D | x_nucleo_iks02a1_shub.overlay | 14 * IIS2MDC is connected directly to ISM330DHCX SCx/SDX (I2Cx) pins, so it is not
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,iis2mdc-spi.yaml | 5 STMicroelectronics IIS2MDC magnetometer accessed through SPI bus 7 compatible: "st,iis2mdc"
|
D | st,iis2mdc-i2c.yaml | 5 STMicroelectronics IIS2MDC magnetometer accessed through I2C bus 7 compatible: "st,iis2mdc"
|
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/ |
D | README.rst | 16 - IIS2MDC: 3-axis magnetometer 69 IIS2MDC: Magn (gauss): x: 0.420, y: -0.116, z: -0.103 70 IIS2MDC: Temperature: 21.0 C 77 1:: iis2mdc trig 993
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/ |
D | README.rst | 16 - IIS2MDC 3-Axis magnetic field intensity 62 IIS2MDC: Magn (gauss): x: -0.120, y: -0.095, z: -0.338 63 IIS2MDC: Temperature: 25.1 C
|
/Zephyr-latest/boards/shields/x_nucleo_iks02a1/doc/ |
D | index.rst | 12 the IIS2MDC 3-axis magnetometer, the IIS2DLPC 3-axis accelerometer and 32 - IIS2MDC MEMS 3D magnetometer (±50 gauss) 48 - IIS2MDC is on I2C1 70 Instead, the IIS2MDC device is connected only to ISM330DHCX sensor through its SCx/SDX (I2Cx) pins.
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/ |
D | README.rst | 15 mode (CONFIG_ISM330DHCX_SENSORHUB=y) with the IIS2MDC magnetometer as external 22 - ISM330DHCX (from IIS2MDC) 3-Axis magnetic field intensity
|
/Zephyr-latest/boards/olimex/lora_stm32wl_devkit/ |
D | olimex_lora_stm32wl_devkit.dts | 102 iis2mdc@1e { 103 compatible = "st,iis2mdc";
|
/Zephyr-latest/drivers/sensor/st/ |
D | CMakeLists.txt | 11 add_subdirectory_ifdef(CONFIG_IIS2MDC iis2mdc)
|
D | Kconfig | 10 source "drivers/sensor/st/iis2mdc/Kconfig"
|
/Zephyr-latest/drivers/sensor/st/iis2iclx/ |
D | Kconfig | 82 bool "IIS2MDC as external sensor"
|
/Zephyr-latest/drivers/sensor/st/ism330dhcx/ |
D | Kconfig | 82 bool "IIS2MDC as external sensor"
|
/Zephyr-latest/boards/st/b_u585i_iot02a/ |
D | b_u585i_iot02a-common.dtsi | 175 iis2mdc@1e { 176 compatible = "st,iis2mdc";
|
/Zephyr-latest/boards/st/steval_stwinbx1/ |
D | steval_stwinbx1.dts | 212 iis2mdc@1e { 213 compatible = "st,iis2mdc";
|
/Zephyr-latest/boards/st/steval_stwinbx1/doc/ |
D | index.rst | 176 - **IIS2MDC** 3-axis magnetometer 177 (`iis2mdc datasheet`_) 394 https://www.st.com/en/mems-and-sensors/iis2mdc.html
|