This section describes callback function of the driver. The callback function is called by the driver to notify software interrupt. All interrupt flags are cleared automatically by the driver.
Enumerator |
---|
I2C0_CALLBACK |
I2C0 interrupt.
|
I2C1_CALLBACK |
I2C1 interrupt.
|
Enumerator |
---|
I2C_MTX_CALLBACK |
Master (MST=1), data transmitted (TX=1)
|
I2C_MRX_CALLBACK |
Master (MST=1), data received (TX=0)
|
I2C_STX_CALLBACK |
Slave (MST=0), data transmitted (TX=1)
|
I2C_SRX_CALLBACK |
Slave (MST=0), data received (TX=0)
|
I2C_SIAAS_RX_CALLBACK |
Addressed as a slave (IAAS), master writes (SRW=0)
|
I2C_SIAAS_TX_CALLBACK |
Addressed as a slave (IAAS), master reads (SRW=1)
|