24.5.2 Sleep Modes
The behavior of the module in Sleep mode is determined by the CCPSLP bit (CCPxCON1[12]). If CCPSLP is set, the module will continue to operate during Sleep mode, assuming that the selected clock source remains available. The TMRSYNC bit must remain cleared for the module to operate in Sleep mode.
When CCPSLP is cleared and the device enters Sleep mode, the module is disabled. However,
if CCPSLP is set and the module is configured for 16-Bit Edge Detect Input Capture mode
(MOD[3:0] = 0000
, CCSEL = 1
), the module can generate
an interrupt and wake up the device as long as the clock source remains active. In this
configuration, the Input Capture pin can function like an external interrupt. The
corresponding CCP interrupt must also be enabled (CCPxIE = 1
).