The flowcharts give examples for read and write operations. 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. TWIHS Write Operation with Single Data Byte without Internal
Address
Figure 2. TWIHS Write Operation with Single Data Byte and Internal
Address
Figure 3. TWIHS Write Operation with Multiple Data Bytes with or
without Internal Address
Figure 4. TWIHS Write Operation with Multiple Data Bytes and Read
Operation with Multiple Data Bytes (Sr) with PEC
Figure 5. TWIHS Read Operation with Single Data Byte without Internal
Address
Figure 6. TWIHS Read Operation with Single Data Byte and Internal
Address
Figure 7. TWIHS Read Operation with Multiple Data Bytes with or without
Internal Address