22.2.1 Capture Sources
In Capture mode, the CCPx pin should 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 |
---|---|
1111 |
CLC8_out |
1110 |
CLC7_out |
1101 |
CLC6_out |
1100 |
CLC5_out |
1011 |
CLC4_out |
1010 |
CLC3_out |
1001 |
CLC2_out |
1000 |
CLC1_out |
0100-0111 |
Reserved |
0011 |
IOC Interrupt |
0010 |
CMP2_output |
0001 |
CMP1_output |
0000 |
Pin selected by CCPxPPS |