Datasheet

PIC16F716
DS41206A-page 46 Preliminary 2003 Microchip Technology Inc.
REGISTER 7-2: PWM1CON: PWM CONFIGURATION REGISTER (ADDRESS: 18h)
REGISTER 7-3: ECCPAS – ENHANCED CCP AUTO SHUT DOWN REGISTER (ADDRESS: 19h)
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
PRSEN PDC6 PDC5 PDC4 PDC3 PDC2 PDC1 PDC0
bit 7 bit 0
bit 7 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 firmware to restart the PWM.
bit 6-0 PDC<6:0>: PWM Delay Count bits
Number of F
OSC/4 (4*TOSC) cycles between the scheduled time when a PWM signal should
transition active, and the actual time it transitions active.
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
R/W-0 R/W-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
ECCPASE ECCPAS2 ECCPAS0 PSSAC1 PSSAC0 PSSBD1 PSSBD0
bit 7 bit 0
bit 7 ECCPASE: ECCP Auto-Shutdown Event Status bit
1 = A shutdown event has occurred. Must be reset in firmware to re-enable ECCP if
PRSEN = 0
0 = ECCP outputs enabled, no shutdown event
bit 6 ECCPAS2: ECCP Auto-Shutdown bit 2
1 = RB0 (INT) pin low level (‘0’) causes shutdown
0 = RB0 (INT) pin has no effect on ECCP
bit 5 Unimplemented: Read as0
bit 4 ECCPAS0: ECCP Auto-Shutdown bit ‘0
1 = RB4 pin low level (‘0) causes shutdown
0 = RB4 pin has no effect on ECCP
bit 3-2 PSSAC<1:0>: Pin P1A and P1C Shutdown State Control
00 = Drive Pins P1A and P1C to0
01 = Drive Pins P1A and P1C to1
1x = Pins P1A and P1C tri-state
bit 1-0 PSSBD<1:0>: Pin P1B and P1D Shutdown State Control
00 = Drive Pins P1B and P1D to0
01 = Drive Pins P1B and P1D to1
1x = Pins P1B and P1D 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