22.2.1 Capture Sources
In Capture mode, the CCPx pin may be configured as an input by setting the associated TRIS control bit.
Important: If the CCPx pin is configured as an output, a
         write to the port can cause a Capture condition.
The capture source is selected by configuring the CTS bits as shown in the following table:
| CTS | Source | 
|---|---|
11 | IOC Interrupt | 
10 | CMP2_output | 
01 | CMP1_output | 
00 | Pin selected by CCPxPPS | 
