Microchip Technology AC244045 Data Sheet

Page of 448
PIC16(L)F1825/1829
DS41440C-page 238
 2010-2012 Microchip Technology Inc.
  
REGISTER 24-3:
CCPxAS: CCPx AUTO-SHUTDOWN CONTROL REGISTER
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
CCPxASE
CCPxAS<2:0>
PSSxAC<1:0>
PSSxBD<1:0>
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = Bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
bit 7
CCPxASE: 
CCPx Auto-Shutdown Event Status bit 
1 = A shutdown event has occurred; CCPx outputs are in shutdown state
0 = CCPx outputs are operating
bit 6-4
CCxPAS<2:0>:
 CCPx Auto-Shutdown Source Select bits
000 = Auto-shutdown is disabled
001 = Comparator C1 output high
(1)
010 = Comparator C2 output high
(1)
011 = Either Comparator C1 or C2 high
(1)
100  = V
IL
 on FLT0 pin
101  = V
IL
 on FLT0 pin or Comparator C1 high
(1)
110  = V
IL
 on FLT0 pin or Comparator C2 high
(1)
111  = V
IL
 on FLT0 pin or Comparator C1 or Comparator C2 high
(1)
bit 3-2
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
bit 1-0
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 CxSYNC is enabled, the shutdown will be delayed by Timer1.