46.9.3.14 Read/Write Flowcharts

The flowcharts shown in this section provide examples for read and write operations. A polling or interrupt method can be used to check the status bits. The interrupt method requires that the Interrupt Enable register (FLEX_TWI_IER) be configured first.

Figure 46-105. TWI Write Operation with Single Data Byte without Internal Address
Figure 46-106. TWI Write Operation with Single Data Byte and Internal Address
Figure 46-107. TWI Write Operation with Multiple Data Bytes with or without Internal Address
Figure 46-108. SMBus Write Operation with Multiple Data Bytes with or without Internal Address and PEC Sending
Figure 46-109. SMBus Write Operation with Multiple Data Bytes with PEC and Alternative Command Mode
Figure 46-110. TWI Write Operation with Multiple Data Bytes and Read Operation with Multiple Data Bytes (Sr)
Figure 46-111. TWI Write Operation with Multiple Data Bytes + Read Operation and Alternative Command Mode + PEC
Figure 46-112. TWI Read Operation with Single Data Byte without Internal Address
Figure 46-113. TWI Read Operation with Single Data Byte and Internal Address
Figure 46-114. TWI Read Operation with Multiple Data Bytes with or without Internal Address
Figure 46-115. TWI Read Operation with Multiple Data Bytes with or without Internal Address with PEC
Figure 46-116. TWI Read Operation with Multiple Data Bytes with Alternative Command Mode with PEC
Figure 46-117. TWI Read Operation with Multiple Data Bytes + Write Operation with Multiple Data Bytes (Sr)
Figure 46-118. TWI Read Operation with Multiple Data Bytes + Write with Alternative Command Mode with PEC