English
Language : 

PIC18F66K22-I Datasheet, PDF (267/550 Pages) Microchip Technology – PIC18F87K22 Family Data Sheet
PIC18F87K22 FAMILY
FIGURE 20-5:
PxM<1:0>
EXAMPLE ENHANCED PWM OUTPUT RELATIONSHIPS (ACTIVE-LOW STATE)
Signal
0
Pulse
Width
Period
PR2 + 1
00 (Single Output)
10
(Half-Bridge)
(Full-Bridge,
01
Forward)
(Full-Bridge,
11
Reverse)
PxA Modulated
PxA Modulated
PxB Modulated
PxA Active
PxB Inactive
PxC Inactive
PxD Modulated
PxA Inactive
PxB Modulated
PxC Active
PxD Inactive
Delay(1)
Delay(1)
Relationships:
• Period = 4 * TOSC * (PR2 + 1) * (TMR2 Prescale Value)
• Pulse Width = TOSC * (CCPRxL<7:0>:CCPxCON<5:4>) * (TMR2 Prescale Value)
• Delay = 4 * TOSC * (ECCPxDEL<6:0>)
Note 1: Dead-band delay is programmed using the ECCP1DEL register (see Section 20.4.6 “Programmable Dead-Band
Delay Mode”).
 2009-2011 Microchip Technology Inc.
DS39960D-page 267