English
Language : 

PIC18F2480_09 Datasheet, PDF (181/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
FIGURE 17-2:
PWM OUTPUT RELATIONSHIPS (ACTIVE-HIGH STATE)
ECCP1CON
<7:6>
SIGNAL
0
Duty
Cycle
Period
00 (Single Output)
10 (Half-Bridge)
(Full-Bridge,
01 Forward)
(Full-Bridge,
11
Reverse)
P1A Modulated
P1A Modulated
P1B Modulated
P1A Active
P1B Inactive
P1C Inactive
P1D Modulated
P1A Inactive
P1B Modulated
P1C Active
P1D Inactive
Delay(1)
Delay(1)
PR2 + 1
FIGURE 17-3:
PWM OUTPUT RELATIONSHIPS (ACTIVE-LOW STATE)
ECCP1CON
<7:6>
SIGNAL
0
Duty
Cycle
Period
PR2 + 1
00 (Single Output)
10 (Half-Bridge)
P1A Modulated
P1A Modulated
P1B Modulated
P1A Active
Delay(1)
Delay(1)
(Full-Bridge,
01 Forward)
P1B Inactive
P1C Inactive
(Full-Bridge,
11
Reverse)
P1D Modulated
P1A Inactive
P1B Modulated
P1C Active
P1D Inactive
Relationships:
• Period = 4 * TOSC * (PR2 + 1) * (TMR2 Prescale Value)
• Duty Cycle = TOSC * (ECCPR1L<7:0>:ECCP1CON<5:4>) * (TMR2 Prescale Value)
• Delay = 4 * TOSC * (ECCP1DEL<6:0>)
Note 1: Dead-band delay is programmed using the ECCP1DEL register (Section 17.4.6 “Programmable Dead-Band Delay”).
© 2009 Microchip Technology Inc.
DS39637D-page 181