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