21.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 |
---|---|
101-111 |
Reserved |
100 |
IOC Interrupt |
011 |
CMP3_output |
010 |
CMP2_output |
001 |
CMP1_output |
000 |
Pin selected by CCPxPPS |