Searched refs:mag_cfg (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/drivers/sensor/st/lsm6dsl/ |
D | lsm6dsl_shub.c | 59 uint8_t mag_cfg[2]; in lsm6dsl_lis2mdl_init() local 64 mag_cfg[0] = LIS2MDL_SW_RESET; in lsm6dsl_lis2mdl_init() 66 LIS2MDL_CFG_REG_A, mag_cfg, 1); in lsm6dsl_lis2mdl_init() 71 mag_cfg[0] = LIS2MDL_ODR_10HZ; in lsm6dsl_lis2mdl_init() 72 mag_cfg[1] = LIS2MDL_OFF_CANC; in lsm6dsl_lis2mdl_init() 74 LIS2MDL_CFG_REG_A, mag_cfg, 2); in lsm6dsl_lis2mdl_init() 139 uint8_t mag_cfg[2]; in lsm6dsl_lis3mdl_init() local 144 mag_cfg[0] = LIS3MDL_REBOOT_MASK | LIS3MDL_SOFT_RST_MASK; in lsm6dsl_lis3mdl_init() 146 LIS3MDL_REG_CTRL2, mag_cfg, 1); in lsm6dsl_lis3mdl_init() 151 mag_cfg[0] = LIS3MDL_ODR; in lsm6dsl_lis3mdl_init() [all …]
|
/Zephyr-latest/drivers/sensor/st/lsm6dso/ |
D | lsm6dso_shub.c | 59 uint8_t mag_cfg[2]; in lsm6dso_lis2mdl_init() local 64 mag_cfg[0] = LIS2MDL_SW_RESET; in lsm6dso_lis2mdl_init() 66 LIS2MDL_CFG_REG_A, mag_cfg, 1); in lsm6dso_lis2mdl_init() 71 mag_cfg[0] = LIS2MDL_ODR_10HZ; in lsm6dso_lis2mdl_init() 72 mag_cfg[1] = LIS2MDL_OFF_CANC; in lsm6dso_lis2mdl_init() 74 LIS2MDL_CFG_REG_A, mag_cfg, 2); in lsm6dso_lis2mdl_init()
|
/Zephyr-latest/drivers/sensor/st/iis2iclx/ |
D | iis2iclx_shub.c | 75 uint8_t mag_cfg[2]; in iis2iclx_lis2mdl_init() local 80 mag_cfg[0] = LIS2MDL_SW_RESET; in iis2iclx_lis2mdl_init() 82 LIS2MDL_CFG_REG_A, mag_cfg, 1); in iis2iclx_lis2mdl_init() 87 mag_cfg[0] = LIS2MDL_ODR_10HZ; in iis2iclx_lis2mdl_init() 88 mag_cfg[1] = LIS2MDL_OFF_CANC; in iis2iclx_lis2mdl_init() 90 LIS2MDL_CFG_REG_A, mag_cfg, 2); in iis2iclx_lis2mdl_init()
|
/Zephyr-latest/drivers/sensor/st/ism330dhcx/ |
D | ism330dhcx_shub.c | 76 uint8_t mag_cfg[2]; in ism330dhcx_lis2mdl_init() local 81 mag_cfg[0] = LIS2MDL_SW_RESET; in ism330dhcx_lis2mdl_init() 82 ism330dhcx_shub_write_slave_reg(dev, i2c_addr, LIS2MDL_CFG_REG_A, mag_cfg, 1); in ism330dhcx_lis2mdl_init() 87 mag_cfg[0] = LIS2MDL_ODR_10HZ; in ism330dhcx_lis2mdl_init() 88 mag_cfg[1] = LIS2MDL_OFF_CANC; in ism330dhcx_lis2mdl_init() 89 ism330dhcx_shub_write_slave_reg(dev, i2c_addr, LIS2MDL_CFG_REG_A, mag_cfg, 2); in ism330dhcx_lis2mdl_init()
|
/Zephyr-latest/drivers/sensor/st/lsm6dso16is/ |
D | lsm6dso16is_shub.c | 60 uint8_t mag_cfg[2]; in lsm6dso16is_lis2mdl_init() local 65 mag_cfg[0] = LIS2MDL_SW_RESET; in lsm6dso16is_lis2mdl_init() 67 LIS2MDL_CFG_REG_A, mag_cfg, 1); in lsm6dso16is_lis2mdl_init() 72 mag_cfg[0] = LIS2MDL_ODR_10HZ; in lsm6dso16is_lis2mdl_init() 73 mag_cfg[1] = LIS2MDL_OFF_CANC; in lsm6dso16is_lis2mdl_init() 75 LIS2MDL_CFG_REG_A, mag_cfg, 2); in lsm6dso16is_lis2mdl_init()
|
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/ |
D | lsm6dsv16x_shub.c | 60 uint8_t mag_cfg[2]; in lsm6dsv16x_lis2mdl_init() local 65 mag_cfg[0] = LIS2MDL_SW_RESET; in lsm6dsv16x_lis2mdl_init() 67 LIS2MDL_CFG_REG_A, mag_cfg, 1); in lsm6dsv16x_lis2mdl_init() 72 mag_cfg[0] = LIS2MDL_ODR_10HZ; in lsm6dsv16x_lis2mdl_init() 73 mag_cfg[1] = LIS2MDL_OFF_CANC; in lsm6dsv16x_lis2mdl_init() 75 LIS2MDL_CFG_REG_A, mag_cfg, 2); in lsm6dsv16x_lis2mdl_init()
|