20.5.2.4 Acknowledge Generation
User software should configure an Acknowledge sequence using ACKC
bits(I2CxCON2[23:22]). When ACKC is configured with "00
", setting the
ACKEN bit (I2CxCON1[4]) enables the generation of a host Acknowledge sequence.
0
’ (host logic inactive) before attempting to
set the ACKEN bit.Figure 20-10 illustrates an ACK sequence and Figure 20-11 illustrates a NACK sequence. The ACKDT bit (I2CxCON1[5] specifies an ACK or NACK sequence.
After two baud periods, the ACKEN bit is automatically cleared and the module generates the I2CxIF interrupt, if HACKSIE(I2CxINTC[11]) bit and HSTIE(I2CxINTC[13]) are enabled.