42.7.5.4.2 Write Operation

The Write mode is defined as a data transmission from the Host.

After a START or a REPEATED START, the decoding of the address starts. If the Client address is decoded, SVACC is set and SVREAD indicates the direction of the transfer (SVREAD is low in this case).

Until a STOP or REPEATED START condition is detected, the TWIHS stores the received data in TWIHS_RHR.

If a STOP condition or a REPEATED START + an address different from SADR is detected, SVACC is reset.

The figure below describes the write operation.

Figure 42-32. Write Access Ordered by a Host
Note:
  1. When SVACC is low, the state of SVREAD becomes irrelevant.
  2. RXRDY is set when data has been transmitted from the internal shifter to TWIHS_RHR and reset when this data is read.