Slave device reception with AHEN and DHEN set operate the same as without these options with extra interrupts and clock stretching added after the eighth falling edge of SCL. These additional interrupts allow the slave software to decide whether it wants to ACK the receive address or data byte, rather than the hardware. This functionality adds support for PMBusā¢ that was not present on previous versions of this module.
This list describes the steps that need to be taken by slave software to use these options for I2C communication. Figure 3 displays a module using both address and data holding. Figure 4 includes the operation with the SEN bit of the SSPxCON2 register set.
1
, the slave hardware will stretch the clock after
the ACK.1
, or the
master sending a Stop condition. If a Stop is sent and Interrupt on Stop Detect is
disabled, the slave will only know by polling the P bit.0
, AHEN =
0
, DHEN = 0
)
1
, AHEN =
0
, DHEN = 0
)
0
, AHEN =
1
, DHEN = 1
)
1
, AHEN =
1
, DHEN = 1
)