English
Language : 

PIC18F2480_09 Datasheet, PDF (187/490 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
PIC18F2480/2580/4480/4580
REGISTER 17-2: ECCP1DEL: ECCP PWM DEAD-BAND DELAY REGISTER
R/W-0
PRSEN
bit 7
R/W-0
PDC6(1)
R/W-0
PDC5(1)
R/W-0
PDC4(1)
R/W-0
PDC3(1)
R/W-0
PDC2(1)
R/W-0
PDC1(1)
R/W-0
PDC0(1)
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
bit 6-0
PRSEN: PWM Restart Enable bit
1 = Upon auto-shutdown, the ECCPASE bit clears automatically once the shutdown event goes away;
the PWM restarts automatically
0 = Upon auto-shutdown, ECCPASE must be cleared in software to restart the PWM
PDC<6:0>: PWM Delay Count bits(1)
Delay time, in number of FOSC/4 (4 * TOSC) cycles, between the scheduled and actual time for a PWM
signal to transition to active.
Note 1: Reserved on PIC18F2X80 devices; maintain these bits clear.
REGISTER 17-3: ECCP1AS: ECCP AUTO-SHUTDOWN CONTROL REGISTER(1)
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(1)
R/W-0
PSSBD0(1)
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
bit 6-4
bit 3-2
bit 1-0
ECCPASE: ECCP Auto-Shutdown Event Status bit
1 = A shutdown event has occurred; ECCP outputs are in shutdown state
0 = ECCP outputs are operating
ECCPAS<2:0>: ECCP Auto-Shutdown Source Select bits
111 = RB0 or Comparator 1 or Comparator 2
110 = RB0 or Comparator 2
101 = RB0 or Comparator 1
100 = RB0
011 = Either Comparator 1 or 2
010 = Comparator 2 output
001 = Comparator 1 output
000 = Auto-shutdown is disabled
PSSAC<1:0>: Pins, A and C, Shutdown State Control bits
1x = Pins, A and C, tri-state (PIC18F4X80 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 PIC18F2X80 devices; maintain these bits clear.
© 2009 Microchip Technology Inc.
DS39637D-page 187