38 void i2c0_hw_init(
void)
40 i2c0.errors = &i2c0_errors;
49 void i2c1_hw_init(
void)
51 i2c1.errors = &i2c1_errors;
60 void i2c2_hw_init(
void)
62 i2c2.errors = &i2c2_errors;
bool i2c_idle(struct i2c_periph *p)
i2c_idle() function
void i2c_setbitrate(struct i2c_periph *p, int bitrate)
i2c_setbitrate() function
#define ZEROS_ERR_COUNTER(_i2c_err)
bool i2c_submit(struct i2c_periph *p, struct i2c_transaction *t)
i2c_submit() function
I2C transaction structure.
I2C peripheral structure.
void i2c_event(void)
i2c_event() function
Architecture independent I2C (Inter-Integrated Circuit Bus) API.