38 void i2c0_hw_init(
void)
43 i2c0.errors = &i2c0_errors;
52 void i2c1_hw_init(
void)
57 i2c1.errors = &i2c1_errors;
66 void i2c2_hw_init(
void)
71 i2c2.errors = &i2c2_errors;
void i2c_event(void)
i2c_event() function
#define ZEROS_ERR_COUNTER(_i2c_err)
I2C transaction structure.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.
static bool i2c_sim_idle(struct i2c_periph *p)
static bool i2c_sim_submit(struct i2c_periph *p, struct i2c_transaction *t)
static void i2c_sim_setbitrate(struct i2c_periph *p, int bitrate)