EDF - OnePIC MCU
v1.1.0
|
Go to the source code of this file.
Data Structures | |
struct | trb |
Contains I2C attributes such as: More... | |
struct | i2cBus |
Holds the statemachine properties. More... | |
enum | i2cState { I2C_IDLE, I2C_STARTING, I2C_XMITING, I2C_RECEIVEADDR, I2C_RESTARTING, I2C_RECEIVING, I2C_ACKING, I2C_STOPPING, I2C_STOP_IN_ENQ, I2C_ERRORS } |
Contains all I2C states that the state machine can be in. More... | |
struct i2cBus | bus1 |
global variables that are used to init the i2c bus | |
int | i2cIdle (struct i2cBus *bus) |
void | trbEnQ (struct i2cBus *bus, struct trb *req) |
Initializes the I2C hardware and data structures. | |
void | I2CInit (void) |
init the I2C according to each architecture | |
void | ISR_i2c (void) |
Definition in file OnePIC_i2c.h.
enum i2cState |
Contains all I2C states that the state machine can be in.
Definition at line 40 of file OnePIC_i2c.h.