EDF - OnePIC MCU
v1.1.0
|
![]() |
Defines | |
#define | __I2C1_ISR __attribute__((interrupt, shadow, auto_psv)) |
Functions | |
int | i2cIdle (struct i2cBus *bus) |
void __I2C1_ISR | _MI2C1Interrupt (void) |
service i2c interrupt for PIC24 | |
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 | |
Variables | |
struct i2cBus | bus1 |
global variables that are used to init the i2c bus |
int i2cIdle | ( | struct i2cBus * | bus | ) |
bus | i2c statemachine |
Definition at line 38 of file OnePIC_i2c.c.
Initializes the I2C hardware and data structures.
bus | i2c bus status |
req | i2c bus properties |
Definition at line 195 of file OnePIC_i2c.c.