Datasheet

2011 Microchip Technology Inc. DS39932D-page 257
PIC18F46J11 FAMILY
FIGURE 18-7: EXAMPLE ENHANCED PWM OUTPUT RELATIONSHIPS (ACTIVE-LOW STATE)
0
Period
00
10
01
11
Signal
PR2 + 1
PxM<1:0>
PxA Modulated
PxA Modulated
PxB Modulated
PxA Active
PxB Inactive
PxC Inactive
PxD Modulated
PxA Inactive
PxB Modulated
PxC Active
PxD Inactive
Pulse
Width
(Single Output)
(Half-Bridge)
(Full-Bridge,
Forward)
(Full-Bridge,
Reverse)
Delay
(1)
Delay
(1)
Relationships:
Period = 4 * T
OSC * (PR2 + 1) * (TMR2 Prescale Value)
Pulse Width = T
OSC * (CCPRxL<7:0>:CCPxCON<5:4>) * (TMR2 Prescale Value)
Delay = 4 * T
OSC * (ECCPxDEL<6:0>)
Note 1: Dead-band delay is programmed using the ECCP1DEL register (Section 18.5.6 “Programmable Dead-Band
Delay Mode”).