PIC18F2420/2520/4420/4520
REGISTER 16-3: ECCP1AS: ECCP AUTO-SHUTDOWN CONTROL REGISTER
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
ECCPASE
ECCPAS2
ECCPAS1
ECCPAS0
PSSAC1
PSSAC0
PSSBD1(1)
PSSBD0(1)
bit 7
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared x = Bit is unknown
bit 7
ECCPASE: ECCP Auto-Shutdown Event Status bit
1= A shutdown event has occurred; ECCP outputs are in shutdown state
0= ECCP outputs are operating
bit 6-4
ECCPAS<2:0>: ECCP Auto-Shutdown Source Select bits
111= FLT0 or Comparator 1 or Comparator 2
110= FLT0 or Comparator 2
101= FLT0 or Comparator 1
100= FLT0
011= Either Comparator 1 or 2
010= Comparator 2 output
001= Comparator 1 output
000= Auto-shutdown is disabled
bit 3-2
bit 1-0
PSSAC<1:0>: Pins A and C Shutdown State Control bits
1x= Pins A and C are tri-state (40/44-pin devices); PWM output is tri-state (28-pin devices)
01= Drive Pins A and C to ‘1’
00= Drive Pins A and C to ‘0’
PSSBD<1:0>: Pins B and D Shutdown State Control bits(1)
1x= Pins B and D tri-state
01= Drive Pins B and D to ‘1’
00= Drive Pins B and D to ‘0’
Note 1: Reserved on 28-pin devices; maintain these bits clear.
© 2008 Microchip Technology Inc.
DS39631E-page 157