20.7 Interrupts

I2C has four separate interrupts. To determine which event has caused the interrupt, the associated flag needs to be read and evaluated. All interrupt sources are shown in Figure 20-41.

  • Receive Buffer Full Interrupt (I2CTXIF)
  • Transmit Buffer Empty Interrupt (I2CRXIF)
  • Generic Module Interrupt (I2CIF)
  • Error Interrupt (I2CEIF)
Figure 20-41. Interrupt Logic