7#ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_DS3231_H_
8#define ZEPHYR_INCLUDE_DRIVERS_MFD_DS3231_H_
24 const size_t buf_size);
37 const size_t buf_size);
Public APIs for the I2C drivers.
int mfd_ds3231_i2c_set_registers(const struct device *dev, uint8_t start_reg, const uint8_t *buf, const size_t buf_size)
Set a register on an I2C device at the given register address.
int mfd_ds3231_i2c_get_registers(const struct device *dev, uint8_t start_reg, uint8_t *buf, const size_t buf_size)
Get specified number of registers from an I2C device starting at the given register address.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:411