38 void i2c0_hw_init(
void)
40 i2c0.errors = &i2c0_errors;
44 void i2c0_ev_isr(
void)
48 void i2c0_er_isr(
void)
56 void i2c1_hw_init(
void)
58 i2c1.errors = &i2c1_errors;
74 void i2c2_hw_init(
void)
76 i2c2.errors = &i2c2_errors;
bool_t i2c_submit(struct i2c_periph *p, struct i2c_transaction *t)
Submit a I2C transaction.
CM3_WEAK i2c2_ev_isr(void)
#define ZEROS_ERR_COUNTER(_i2c_err)
CM3_WEAK i2c1_er_isr(void)
CM3_WEAK i2c2_er_isr(void)
void i2c2_setbitrate(int bitrate)
I2C transaction structure.
I2C peripheral structure.
bool_t i2c_idle(struct i2c_periph *p)
Check if I2C bus is idle.
CM3_WEAK i2c1_ev_isr(void)
Architecture independent I2C (Inter-Integrated Circuit Bus) API.