embedded-software
reusable software modules for embedded systems
|
#include <i2c.h>
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 | |
uint16_t stayActive: 1 | |
}; | |
void(* | callback )(struct i2c_transaction) |
struct { ... } |
uint16_t blocking |
void(* callback)(struct i2c_transaction) |
uint16_t channel |
uint16_t error |
uint16_t finished |
uint8_t readData[I2C_MAX_RX_SIZE] |
uint16_t readLength |
uint16_t retryCount |
uint16_t slave_address |
uint16_t stayActive |
uint8_t writeData[I2C_MAX_TX_SIZE] |
uint16_t writeLength |