20.10 CCP Capture/Compare Time Base
The CCP modules use the TMRxH:TMRxL register pair as the time base when operating in Capture or Compare mode.
In Capture mode, the value in the TMRxH:TMRxL register pair is copied into the CCPRxH:CCPRxL register pair on a configured event.
In Compare mode, an event is triggered when the value in the CCPRxH:CCPRxL register pair matches the value in the TMRxH:TMRxL register pair. This event can be a Special Event Trigger.
For more information, see Capture/Compare/PWM Module(CCP) chapter.