Searched refs:mmc56x3_reg_write (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/sensor/memsic/mmc56x3/ |
D | mmc56x3.c | 41 static inline int mmc56x3_reg_write(const struct device *dev, uint8_t reg, uint8_t val) in mmc56x3_reg_write() function 73 int ret = mmc56x3_reg_write(dev, MMC56X3_REG_INTERNAL_CTRL_0, data->ctrl0_cache); in mmc56x3_chip_set_auto_self_reset() 94 ret = mmc56x3_reg_write(dev, MMC56X3_REG_INTERNAL_ODR, 255); in mmc56x3_chip_set_continuous_mode() 96 ret = mmc56x3_reg_write(dev, MMC56X3_REG_INTERNAL_ODR, (uint8_t) odr); in mmc56x3_chip_set_continuous_mode() 113 ret = mmc56x3_reg_write(dev, MMC56X3_REG_INTERNAL_CTRL_0, data->ctrl0_cache); in mmc56x3_chip_set_continuous_mode() 118 ret = mmc56x3_reg_write(dev, MMC56X3_REG_INTERNAL_CTRL_2, data->ctrl2_cache); in mmc56x3_chip_set_continuous_mode() 147 return mmc56x3_reg_write(dev, MMC56X3_REG_INTERNAL_CTRL_1, data->ctrl1_cache); in mmc56x3_chip_set_decimation_filter() 174 ret = mmc56x3_reg_write(dev, MMC56X3_REG_INTERNAL_CTRL_1, MMC56X3_CMD_SW_RESET); in mmc56x3_chip_init() 181 ret = mmc56x3_reg_write(dev, MMC56X3_REG_INTERNAL_CTRL_0, MMC56X3_CMD_SET); in mmc56x3_chip_init() 188 ret = mmc56x3_reg_write(dev, MMC56X3_REG_INTERNAL_CTRL_0, MMC56X3_CMD_RESET); in mmc56x3_chip_init() [all …]
|