English
Language : 

PIC18F23K22 Datasheet, PDF (190/492 Pages) Microchip Technology – 28/40/44-Pin, Low-Power, High-Performance Microcontrollers with nanoWatt XLP Technology
PIC18(L)F2X/4XK22
FIGURE 14-7:
EXAMPLE ENHANCED PWM OUTPUT RELATIONSHIPS (ACTIVE-LOW STATE)
PxM<1:0>
Signal
0
Pulse
Width
Period
PRx+1
00 (Single Output)
10
(Half-Bridge)
PxA Modulated
PxA Modulated
PxB Modulated
Delay(1)
Delay(1)
PxA Active
(Full-Bridge,
01
Forward)
PxB Inactive
PxC Inactive
PxD Modulated
PxA Inactive
(Full-Bridge,
11
Reverse)
PxB Modulated
PxC Active
PxD Inactive
Relationships:
• Period = 4 * TOSC * (PRx + 1) * (TMRx Prescale Value)
• Pulse Width = TOSC * (CCPRxL<7:0>:CCPxCON<5:4>) * (TMRx Prescale Value)
• Delay = 4 * TOSC * (PWMxCON<6:0>)
Note 1: Dead-band delay is programmed using the PWMxCON register (Section 14.4.5 “Programmable Dead-Band Delay
Mode”).
DS41412B-page 190
Preliminary
 2010 Microchip Technology Inc.