20.6.6 CCPx Control 2 High Register

Name: CCPxCON2H
Offset: 0x956, 0x97A, 0x99E, 0x9C2

Bit 15141312111098 
 OENSYNC      OCAEN 
Access R/WR/W 
Reset 00 
Bit 76543210 
 ICGSM[1:0] AUXOUT[1:0]ICS[2:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bit 15 – OENSYNC Output Enable Synchronization bit

ValueDescription
1

Updates by output enable bits occur on the next Time Base Reset or rollover.

0

Updates by output enable bits occur immediately.

Bit 8 – OCAEN Output Enable/Steering Control bit

ValueDescription
1 OCMA pin is controlled by the CCPx module and produces an output compare or PWM signal.
0 OCMA pin is not controlled by the CCPx module; the pin is available to the port logic or another peripheral multiplexed on the pin.

Bits 7:6 – ICGSM[1:0] Input Capture Gating Source Mode Control bits

ValueDescription
11 Reserved
10

One-Shot mode: Falling edge from gating source disables future capture events (ICDIS = 1).

01

One-Shot mode: Rising edge from gating source enables future capture events (ICDIS = 0).

00 Level-Sensitive mode: A high level from gating source will enable future capture events; a low level will disable future capture events.

Bits 4:3 – AUXOUT[1:0] Auxiliary Output Signal on Event Selection bits

ValueDescription
11

Input capture or output compare event; no signal in Timer mode.

10

Signal output is defined by module operating mode (see Auxiliary Output).

01

Time base rollover event (all modes).

00

Disabled

Bits 2:0 – ICS[2:0] Input Capture Source Select bits

ValueDescription
111 CLC4 output
110 CLC3 output
101 CLC2 output
100 CLC1 output
011 Reserved
010 Reserved
001 Comparator 1 output
000 SCCP Input Capture x (ICx) pin (PPS)