Datasheet
PIC12(L)F1840
DS41441B-page 208 Preliminary 2011 Microchip Technology Inc.
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 low
(1)
010 = Reserved
011 = Either Comparator C1 output low
(1)
100 =VIL on INT pin
101 =V
IL on INT pin or Comparator C1 low
(1)
110 = Reserved
111 =V
IL on INT pin or Comparator C1 low
(1)
bit 3-2 PSS1AC<1:0>: Pin P1A Shutdown State Control bits
00 = Drive pin P1A to ‘0’
01 = Drive pin P1A to ‘1’
1x = Pin P1A tri-state
bit 1-0 PSS1BD<1:0>: Pin P1B Shutdown State Control bits
00 = Drive pin P1B to ‘0’
01 = Drive pin P1B to ‘1’
1x = Pin P1B tri-state
Note 1: If C1SYNC is enabled, the shutdown will be delayed by Timer1.