embeddedlibrary
reusable software modules for embedded systems
i2c_transaction Struct Reference

Data Fields

uint8_t writeData [I2C_MAX_TX_SIZE]
 
uint8_t readData [I2C_MAX_RX_SIZE]
 
uint16_t slave_address
 
struct {
   uint16_t   writeLength: 4
 
   uint16_t   readLength: 4
 
   uint16_t   channel: 3
 
   uint16_t   retryCount: 3
 
   uint16_t   blocking: 1
 
   uint16_t   finished: 1
 
   uint16_t   error: 1
 
}; 
 
void(* callback )(struct i2c_transaction)
 

The documentation for this struct was generated from the following file: