14.5.5 Stop Conditions
When the SCLAn pin is high, a stop condition is generated if the SDAAn pin changes from low to high.
The stop condition is the signal generated when the master device ends the serial transmission to the slave
device. When used as a slave, a stop condition can be detected.
Figure 14-18 Stop conditions
SCLAn
SDAAn
If bit0 (SPTn) of IICA control register n0 (IICCTLn0) is set to 1, a stop condition is generated. If a stop
condition is detected, set bit0 (SPDn) of IICA status register n (IICSn) to 1, and INTIICAn is generated when
bit4 (SPIEn) of the IICCTLn0 register is 1.
Note n=0