![]() |
EVE 1.0
|
#include <i2c-master.h>
Data Fields | |
i2c_completion_callback_t | CompletionCallback |
void * | CompletionCallbackData |
uint32_t | LastError |
struct dlist_t | PendingI2cWorks |
i2c_state_t structure holds clock lock state and other parameter used by the driver functions. The structure will be set by the I2cMaster() function when called.
Definition at line 99 of file i2c-master.h.
i2c_completion_callback_t i2c_state_t::CompletionCallback |
Completion callback
Definition at line 101 of file i2c-master.h.
void* i2c_state_t::CompletionCallbackData |
Completion callback data
Definition at line 102 of file i2c-master.h.
uint32_t i2c_state_t::LastError |
Error reason bitmap or 0 if a transfer finished successfully
Definition at line 103 of file i2c-master.h.
struct dlist_t i2c_state_t::PendingI2cWorks |
List of works waiting for bus availability
Definition at line 104 of file i2c-master.h.