Slave Read Write Flowcharts

The flowchart below illustrates an example of read and write operations in Slave mode. A polling or interrupt method can be used to check the status bits. The interrupt method requires that TWIHS_IER be configured first.

Figure 1. Read Write Flowchart in Slave Mode
Figure 2. Read Write Flowchart in Slave Mode with SMBus PEC
Figure 3. Read Write Flowchart in Slave Mode with SMBus PEC