embedded-software
reusable software modules for embedded systems
|
Data Structures | |
struct | i2c |
Macros | |
#define | NUM_I2C 0 |
Enumerations | |
enum | i2c_status_t { I2C_IDLE = 0, I2C_BUSY } |
Functions | |
void | I2C_Init (i2c_settings_t *i2c_settings) |
void | I2C_Transact (i2c_transaction_t *transaction) |
uint16_t | I2C_GetSlaveAddress (uint8_t channel) |
void | I2C_Rx_Handler (uint8_t channel, uint8_t byte) |
uint8_t | I2C_GetTxByte (uint8_t channel) |
uint8_t | I2C_GetTxSize (uint8_t channel) |
uint8_t | I2C_GetRxSize (uint8_t channel) |
uint8_t | I2C_GetStayActive (uint8_t channel) |
void | I2C_TransactionSuccess (uint8_t channel) |
void | I2C_TransactionFail (uint8_t channel) |
Variables | |
struct i2c | i2c [NUM_I2C] |
#define NUM_I2C 0 |
enum i2c_status_t |
uint8_t I2C_GetRxSize | ( | uint8_t | channel | ) |
uint16_t I2C_GetSlaveAddress | ( | uint8_t | channel | ) |
uint8_t I2C_GetStayActive | ( | uint8_t | channel | ) |
uint8_t I2C_GetTxByte | ( | uint8_t | channel | ) |
uint8_t I2C_GetTxSize | ( | uint8_t | channel | ) |
void I2C_Init | ( | i2c_settings_t * | i2c_settings | ) |
void I2C_Rx_Handler | ( | uint8_t | channel, |
uint8_t | byte | ||
) |
void I2C_Transact | ( | i2c_transaction_t * | transaction | ) |
void I2C_TransactionFail | ( | uint8_t | channel | ) |
void I2C_TransactionSuccess | ( | uint8_t | channel | ) |