The master initiates the communication by a read command and finishes it by a write command.
The figure below describes the REPEATED START and the reversal from
Read mode to Write mode.
Figure 1. Repeated Start and Reversal from Read Mode to Write
Mode
Note: TXCOMP is only set at the end of the transmission. This is because after the REPEATED
START, SADR is detected again.