57.9.5.4.1 Read Operation
Read mode is defined as a data requirement from the host.
After a START or a REPEATED START condition is detected, the decoding of the address starts. If the client address (SADR) is decoded, SVACC is set and SVREAD indicates the direction of the transfer.
Until a STOP or REPEATED START condition is detected, TWI continues sending data loaded in FLEX_TWI_THR.
If a STOP condition or a REPEATED START + an address different from SADR is detected, SVACC is reset.
The following figure describes the read operation.
Note:
- When SVACC is low, the state of SVREAD becomes irrelevant.
- TXRDY is reset when data has been transmitted from FLEX_TWI_THR to the internal shifter and set when this data has been acknowledged or non acknowledged.