27.3.2 CCPx Control Register 2

Note:
  1. This bit has no effect in Timer modes, Output Compare modes or PWM modes. A write to the ICGARM (CCPxSTAT[10]) bit will re-arm the one-shot gating circuit when ICGSM = 01 or ICGSM = 10.
  2. This bit has no affect for Timer gating or Input Capture gating functions.
Table 27-5. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Gray cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
CWrite to clearSSoftware settable bitxChannel number
Name: CCPxCON2
Offset: 0x1B04, 0x1B34, 0x1B64, 0x1B94

Bit 3130292827262524 
 OENSYNC      OCAEN 
Access R/WR/W 
Reset 00 
Bit 2322212019181716 
 ICGSM[1:0] AUXOUT[1:0]ICS[2:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 
Bit 15141312111098 
 PWMRSENASDGM SSDG     
Access R/WR/WR/W 
Reset 000 
Bit 76543210 
 ASDG[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 31 – OENSYNC Output Enable Synchronization bit

ValueDescription
1Update by output enable bits occurs on the next time base Reset or rollover
0Update by output enable bits occurs immediately

Bit 24 – OCAEN Output Enable/Steering Control bits

ValueDescription
1OCx pin is controlled by the CCP module and produces an Output Compare or PWM signal
0OCx pin is not controlled by the CCP module; the pin is available to the port logic or another peripheral multiplexed on the pin

Bits 23:22 – ICGSM[1:0]  Input Capture Gating Source Mode Control bits(1)

ValueDescription
11Reserved
10One-Shot mode; falling edge from gating source will disable future capture events (CDIS = 1)
01One-Shot mode; rising edge from gating source will enable future capture events (CDIS = 0)
00Level Sensitive mode; a high level from gating source will enable future capture events; a low level will disable future capture events

Bits 20:19 – AUXOUT[1:0] Auxiliary Output Signal Selection bits

ValueDescription
11Signal output depends on module operating mode (see Table 27-19)
10Signal output depends on module operating mode (see Table 27-19)
01Signal output depends on module operating mode (see Table 27-19)
00No signal output on aux_out

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

Bit 15 – PWMRSEN CCPx Output Compare Restart Enable bit

ValueDescription
1ASEVT (CCPxSTAT[4]) bit clears automatically at the beginning of the next Output Compare period, after the shutdown input has ended
0ASEVT (CCPxSTAT[4]) bit must be cleared in software to resume Output Compare activity on output pins

Bit 14 – ASDGM  CCPx Auto-Shutdown/Gate Control bit(1)

ValueDescription
1Wait until next time base Reset or rollover for an Output Compare pin shutdown to occur
0Output Compare pin shutdown event occurs immediately

Bit 12 – SSDG CCPx Software Shutdown/Gate Control bit

ValueDescription
1Manually force auto-shutdown, Timer clock gate or Input Capture signal gate event (setting of ASDGM bit still applies)
0Normal module operation

Bits 7:0 – ASDG[7:0] CCPx Auto-Shutdown/Gating Source Enable bits

Refer to Table 27-17 for Auto-Shutdown and Gating Sources.
ValueDescription
1ASDG source n is enabled
0ASDG source n is disabled