English
Language : 

PIC16F631_08 Datasheet, PDF (136/306 Pages) Microchip Technology – 20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F631/677/685/687/689/690
FIGURE 11-6:
P1M<1:0>
EXAMPLE PWM (ENHANCED MODE) OUTPUT RELATIONSHIPS (ACTIVE-HIGH
STATE)
Signal
0
Pulse
Width
Period
PR2+1
00 (Single Output)
10 (Half-Bridge)
P1A Modulated
P1A Modulated
P1B Modulated
Delay(1)
Delay(1)
P1A Active
(Full-Bridge,
01
Forward)
P1B Inactive
P1C Inactive
P1D Modulated
P1A Inactive
(Full-Bridge,
11
Reverse)
P1B Modulated
P1C Active
P1D Inactive
Relationships:
• Period = 4 * TOSC * (PR2 + 1) * (TMR2 Prescale Value)
• Pulse Width = TOSC * (CCPR1L<7:0>:CCP1CON<5:4>) * (TMR2 Prescale Value)
• Delay = 4 * TOSC * (PWM1CON<6:0>)
Note 1: Dead-band delay is programmed using the PWM1CON register (Section 11.4.6 “Programmable Dead-Band Delay
mode”).
DS41262E-page 134
© 2008 Microchip Technology Inc.