20.5.4.2 Detecting Start and Stop Conditions
The client detects the Start and Stop conditions on the bus and indicates that status on the S status bit (I2CxSTAT1[3]), STARTE (I2CxSTAT2[14]) and P status bit (I2CxSTAT1[4]), STOPE (I2CxSTAT2[15]). The Start (S) and Stop (P) status bits are cleared when a Reset occurs or when the module is disabled. After detection of a start or repeated start event, the S status bit is set and the P status bit is cleared.
After detection of a Stop event:
- The P status bit is set and the S status bit is cleared
- The CLTACT(I2CxSTAT2[30]) bit is cleared