
2004 Microchip Technology Inc.
DS30491C-page 185
PIC18F6585/8585/6680/8680
REGISTER 16-3:
ECCP1AS: ENHANCED CAPTURE/COMPARE/PWM AUTO-SHUTDOWN
CONTROL REGISTER
R/W-0
ECCPASE ECCPAS2 ECCPAS1 ECCPAS0
PSSAC1
PSSAC0
PSSBD1
PSSBD0
bit 7
bit 0
bit 7
ECCPASE: ECCP Auto-Shutdown Event Status bit
0
= ECCP outputs are operating
1
= A shutdown event has occurred; ECCP outputs are in shutdown state
bit 6-4
ECCPAS<2:0>: ECCP Auto-Shutdown Source Select bits
000
= Auto-shutdown is disabled
001
= Comparator 1 output
010
= Comparator 2 output
011
= Either Comparator 1 or 2
100
=RB0
101
= RB0 or Comparator 1
110
= RB0 or Comparator 2
111
= RB0 or Comparator 1 or Comparator 2
bit 3-2
PSSACn: Pins A and C Shutdown State Control bits
00
= Drive pins A and C to ‘0’
01
= Drive pins A and C to ‘1’
1x
= Pins A and C tri-state
bit 1-0
PSSBDn: Pins B and D Shutdown State Control bits
00
= Drive pins B and D to ‘0’
01
= Drive pins B and D to ‘1’
1x
= Pins B and D tri-state
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
- n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown