21.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:

Table 21-2. Capture Trigger Sources
CTSSource
11IOC Interrupt
10CMP2_output
01CMP1_output
00Pin selected by CCPxPPS