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