i2c.h
Go to the documentation of this file.
98 int i2c_init(int handle, int mode, uint8_t addr, uint16_t speed, int queue_len_tx, int queue_len_rx, i2c_callback_t callback);
void(* i2c_callback_t)(i2c_frame_t *frame, void *pxTaskWoken)
Initialise the I2C driver.
Definition: i2c.h:90
int i2c_send(int handle, i2c_frame_t *frame, uint16_t timeout)
Send I2C frame via the selected device.
int i2c_init(int handle, int mode, uint8_t addr, uint16_t speed, int queue_len_tx, int queue_len_rx, i2c_callback_t callback)