2.1 Capture Sources

The capture source is selected with the Capture Trigger Input Selection (CTS) bits. The capture source may come from an internal source, such as a CLC or comparator output, or from an external source routed through the CCPx pin via the CCPxPPS input selection register.

In Capture mode, the CCPx pin can 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.