The I2C_0 interrupt function.
318 if(event==ARM_I2C_EVENT_TRANSFER_DONE)
323 if( event & ARM_I2C_EVENT_TRANSFER_INCOMPLETE)
327 if(event==ARM_I2C_EVENT_SLAVE_TRANSMIT)
332 if(event==ARM_I2C_EVENT_SLAVE_RECEIVE)
337 if (event & ARM_I2C_EVENT_ADDRESS_NACK){
340 if (event & ARM_I2C_EVENT_ARBITRATION_LOST){
343 if( event & ARM_I2C_EVENT_BUS_ERROR){
346 if( event & ARM_I2C_EVENT_BUS_CLEAR){
volatile uint32_t Error_bad_operation
exploited to mark the errors
void I2C_0_SignalEvent_t(uint32_t event)
The I2C_0 interrupt function.
uint32_t evento_I2C
This is the variable which resembles the flags from the communication.