English
Language : 

PIC24F16KL402 Datasheet, PDF (130/260 Pages) Microchip Technology – Low-Power, Low-Cost, General Purpose 16-Bit Flash Microcontrollers with nanoWatt XLP Technology
PIC24F16KL402 FAMILY
REGISTER 16-3: ECCP1AS: ECCP1 AUTO-SHUTDOWN CONTROL REGISTER(1)
U-0
U-0
U-0
U-0
U-0
U-0
U-0
—
—
—
—
—
—
—
bit 15
R/W-0
ECCPASE
bit 7
R/W-0
ECCPAS2
R/W-0
ECCPAS1
R/W-0
ECCPAS0
R/W-0
PSSAC1
R/W-0
PSSAC0
R/W-0
PSSBD1
U-0
—
bit 8
R/W-0
PSSBD0
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 15-8
bit 7
bit 6-4
bit 3-2
bit 1-0
Unimplemented: Read as ‘0’
ECCPASE: ECCP Auto-Shutdown Event Status bit
1 = A shutdown event has occurred; ECCP outputs are in a shutdown state
0 = ECCP outputs are operating
ECCPAS<2:0>: ECCP Auto-Shutdown Source Select bits
111 = VIL on FLT0 pin, or either C1OUT or C2OUT is high
110 = VIL on FLT0 pin, or C2OUT comparator output is high
101 = VIL on FLT0 pin, or C1OUT comparator output is high
100 = VIL on FLT0 pin
011 = Either C1OUT or C2OUT is high
010 = C2OUT comparator output is high
001 = C1OUT comparator output is high
000 = Auto-shutdown is disabled
PSSAC<1:0>: PxA and PxC Pins Shutdown State Control bits
1x = P1A and P1C pins tri-state
01 = Drive pins P1A and P1C to ‘1’
00 = Drive pins P1A and P1C to ‘0’
PSSBD<1:0>: PxB and PxD Pins Shutdown State Control bits
1x = P1B and P1D pins tri-state
01 = Drive pins, P1B and P1D, to ‘1’
00 = Drive pins, P1B and P1D, to ‘0’
Note 1: This register is implemented only on PIC24FXXKL40X/30X devices.
Note 1: The auto-shutdown condition is a level-based signal, not an edge-based signal. As long as the level is
present, the auto-shutdown will persist.
2: Writing to the ECCPASE bit is disabled while an auto-shutdown condition persists.
3: Once the auto-shutdown condition has been removed and the PWM restarted (either through firmware or
auto-restart), the PWM signal will always restart at the beginning of the next PWM period.
DS31037B-page 130
 2011 Microchip Technology Inc.