27.5.3 Interrupts
The CCP module has the ability to generate the interrupt on the period match input capture event or output compare event.
CCTxIF is set when the TMRx count matches the respective PRx register. CCPxIF is set whenever there is an input capture event or an output compare equal event. The CCTxIF and CCPxIF bits must be cleared in software.
The CCP module is enabled as a source of interrupt via the CCP Interrupt Enable bit, CCTxIE and CCPxIE. The CCP Interrupt Priority Level is defined by CCP Interrupt Priority bits CCTxIP[2:0] and CCPxIP[2:0].
0
’ and the timer is enabled. An interrupt is not generated for
this configuration.