46.6.3.14 Read/Write Flowcharts

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 46-14. TWIHS Write Operation with Single Data Byte without Internal Address
Figure 46-15. TWIHS Write Operation with Single Data Byte and Internal Address
Figure 46-16. TWIHS Write Operation with Multiple Data Bytes with or without Internal Address
Figure 46-17. SMBus Write Operation with Multiple Data Bytes with or without Internal Address and PEC Sending
Figure 46-18. SMBus Write Operation with Multiple Data Bytes with PEC and Alternative Command Mode
Figure 46-19. TWIHS Write Operation with Multiple Data Bytes and Read Operation with Multiple Data Bytes (Sr)
Figure 46-20. TWIHS Write Operation with Multiple Data Bytes + Read Operation and Alternative Command Mode + PEC
Figure 46-21. TWIHS Read Operation with Single Data Byte without Internal Address
Figure 46-22. TWIHS Read Operation with Single Data Byte and Internal Address
Figure 46-23. TWIHS Read Operation with Multiple Data Bytes with or without Internal Address
Figure 46-24. TWIHS Read Operation with Multiple Data Bytes with or without Internal Address with PEC
Figure 46-25. TWIHS Read Operation with Multiple Data Bytes with Alternative Command Mode with PEC
Figure 46-26. TWIHS Read Operation with Multiple Data Bytes + Write Operation with Multiple Data Bytes (Sr)
Figure 46-27. TWIHS Read Operation with Multiple Data Bytes + Write with Alternative Command Mode with PEC