English
Language : 

PIC18F23K22 Datasheet, PDF (205/492 Pages) Microchip Technology – 28/40/44-Pin, Low-Power, High-Performance Microcontrollers with nanoWatt XLP Technology
PIC18(L)F2X/4XK22
REGISTER 14-5: ECCPxAS: CCPX AUTO-SHUTDOWN CONTROL REGISTER
R/W-0
CCPxASE
bit 7
R/W-0
R/W-0
CCPxAS<2:0>
R/W-0
R/W-0
R/W-0
PSSxAC<1:0>
R/W-0
R/W-0
PSSxBD<1:0>
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7
bit 6-4
bit 3-2
bit 1-0
CCPxASE: CCPx Auto-shutdown Event Status bit
if PxRSEN = 1;
1 = An Auto-shutdown event occurred; CCPxASE bit will automatically clear when event goes away;
CCPx outputs in shutdown state
0 = CCPx outputs are operating
if PxRSEN = 0;
1 = An Auto-shutdown event occurred; bit must be cleared in software to restart PWM;
CCPx outputs in shutdown state
0 = CCPx outputs are operating
CCxPAS<2:0>: CCPx Auto-Shutdown Source Select bits (1)
000 = Auto-shutdown is disabled
001 = Comparator C1 – output high will cause shutdown event
010 = Comparator C2 – output high will cause shutdown event
011 = Either Comparator C1 or C2 – output high will cause shutdown event
100 = FLT0 pin - low level will cause shutdown event
101 = FLT0 pin or Comparator C1 – low level will cause shutdown event
110 = FLT0 pin or Comparator C2 – low level will cause shutdown event
111 = FLT0 pin or Comparators C1 or C2 – low level will cause shutdown event
PSSxAC<1:0>: Pins PxA and PxC Shutdown State Control bits
00 = Drive pins PxA and PxC to ‘0’
01 = Drive pins PxA and PxC to ‘1’
1x = Pins PxA and PxC tri-state
PSSxBD<1:0>: Pins PxB and PxD Shutdown State Control bits
00 = Drive pins PxB and PxD to ‘0’
01 = Drive pins PxB and PxD to ‘1’
1x = Pins PxB and PxD tri-state
Note 1: If C1SYNC or C2SYNC bits in the CM2CON1 register are enabled, the shutdown will be delayed by
Timer1.
 2010 Microchip Technology Inc.
Preliminary
DS41412B-page 205