English
Language : 

PIC18F26K80-I Datasheet, PDF (272/622 Pages) Microchip Technology – 28/40/44/64-Pin, Enhanced Flash Microcontrollers with ECAN™ and nanoWatt XLP Technology
PIC18F66K80 FAMILY
TABLE 20-2: EXAMPLE PIN ASSIGNMENTS FOR VARIOUS PWM ENHANCED MODES
ECCP Mode
P1M<1:0>
P1A
P1B
P1C
Single
00
Yes(1)
Yes(1)
Yes(1)
Half-Bridge
10
Yes
Yes
No
Full-Bridge, Forward
01
Yes
Yes
Yes
Full-Bridge, Reverse
11
Yes
Yes
Yes
Note 1: Outputs are enabled by pulse steering in Single mode (see Register 20-5).
P1D
Yes(1)
No
Yes
Yes
FIGURE 20-4:
EXAMPLE PWM (ENHANCED MODE) OUTPUT RELATIONSHIPS
(ACTIVE-HIGH STATE)
P1M<1:0>
Signal
0
Pulse Width
PR2 + 1
Period
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 * (ECCP1DEL<6:0>)
Note 1: Dead-band delay is programmed using the ECCP1DEL register (Section 20.4.6 “Programmable Dead-Band
Delay Mode”).
DS39977F-page 272
 2010-2012 Microchip Technology Inc.