PIC16F716
REGISTER 7-2:
PWM1CON: PWM CONFIGURATION REGISTER (ADDRESS: 18h)
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
bit 7
R/W-0
PDC0
bit 0
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 firmware to restart the PWM.
PDC<6:0>: PWM Delay Count bits
Number of FOSC/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
- 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
REGISTER 7-3:
ECCPAS – ENHANCED CCP AUTO SHUT DOWN REGISTER (ADDRESS: 19h)
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
bit 6
bit 5
bit 4
bit 3-2
bit 1-0
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
ECCPAS2: ECCP Auto-Shutdown bit 2
1 = RB0 (INT) pin low level (‘0’) causes shutdown
0 = RB0 (INT) pin has no effect on ECCP
Unimplemented: Read as ‘0’
ECCPAS0: ECCP Auto-Shutdown bit ‘0’
1 = RB4 pin low level (‘0’) causes shutdown
0 = RB4 pin has no effect on ECCP
PSSAC<1:0>: Pin P1A and P1C Shutdown State Control
00 = Drive Pins P1A and P1C to ‘0’
01 = Drive Pins P1A and P1C to ‘1’
1x = Pins P1A and P1C tri-state
PSSBD<1:0>: Pin P1B and P1D Shutdown State Control
00 = Drive Pins P1B and P1D to ‘0’
01 = Drive Pins P1B and P1D to ‘1’
1x = Pins P1B and P1D tri-state
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
DS41206A-page 46
Preliminary
2003 Microchip Technology Inc.