60 Wire.beginTransmission(0x6f);
66 writeResult = Wire.endTransmission(
false);
73 Wire.requestFrom(0x6f,
length);
77 while(0 == Wire.available());
95 Wire.beginTransmission(0x6f);
108 writeResult = Wire.endTransmission();
static ft_uint32_t ft_uint8_t * buffer
static ft_uint32_t ft_uint8_t ft_uint32_t length
int16_t hal_rtc_i2c_write(uint8_t addr, uint8_t *buffer, uint16_t length)
int16_t hal_rtc_i2c_read(uint8_t addr, uint8_t *buffer, uint16_t length)
int16_t hal_rtc_i2c_init()
This file contains apis related to i2c.