Datasheet
2010-2012 Microchip Technology Inc. DS41413C-page 229
PIC12(L)F1822/PIC16(L)F1823
REGISTER 24-2: CCP1AS: CCP1 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
CCP1ASE CCP1AS<2:0> PSS1AC<1:0> PSS1BD<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
CCP1ASE: CCP1 Auto-Shutdown Event Status bit
1 = A shutdown event has occurred; CCP1 outputs are in shutdown state
0 = CCP1 outputs are operating
bit 6-4
CC1PAS<2:0>: CCP1 Auto-Shutdown Source Select bits
000 = Auto-shutdown is disabled
001 = Comparator C1 output high
(1)
010 = Comparator C2 output high
(1, 2)
011 = Either Comparator C1 or C2 high
(1, 2)
100 =VIL on INT pin
101 =V
IL on INT pin or Comparator C1 high
(1)
110 =VIL on INT pin or Comparator C2 high
(1, 2)
111 =VIL on INT pin or Comparator C1 or Comparator C2 high
(1, 2)
bit 3-2 PSS1AC<1:0>: Pins P1A and P1C Shutdown State Control bits
(2)
00 = Drive pins P1A and P1C to ‘0’
(2)
01 = Drive pins P1A and P1C to ‘1’
(2)
1x = Pins P1A and P1C tri-state
(2)
bit 1-0 PSS1BD<1:0>: Pins P1B and P1D Shutdown State Control bits
(2)
00 = Drive pins P1B and P1D to ‘0’
01 = Drive pins P1B and P1D to ‘1’
1x = Pins P1B and P1D tri-state
Note 1: If C1SYNC is enabled, the shutdown will be delayed by Timer1.
2: C2, P1C and P1D available on PIC16(L)F1823 only.