20.6.6 CCPx Control 2 High Register
| Name: | CCPxCON2H |
| Offset: | 0x956, 0x97A, 0x99E, 0x9C2 |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| OENSYNC | OCAEN | ||||||||
| Access | R/W | R/W | |||||||
| Reset | 0 | 0 |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| ICGSM[1:0] | AUXOUT[1:0] | ICS[2:0] | |||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
Bit 15 – OENSYNC Output Enable Synchronization bit
| Value | Description |
|---|---|
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
| Value | Description |
|---|---|
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
| Value | Description |
|---|---|
11 |
Reserved |
10 |
One-Shot mode: Falling edge from gating source disables future capture events
(ICDIS = |
01 |
One-Shot mode: Rising edge from gating source enables future capture events
(ICDIS = |
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
| Value | Description |
|---|---|
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
| Value | Description |
|---|---|
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) |
