English
Language : 

PIC18F1220_07 Datasheet, PDF (125/308 Pages) Microchip Technology – 18/20/28-Pin High-Performance, Enhanced Flash Microcontrollers with 10-bit A/D and nanoWatt Technology
PIC18F1220/1320
15.5.5 FULL-BRIDGE MODE
In Full-Bridge Output mode, four pins are used as
outputs; however, only two outputs are active at a time.
In the Forward mode, pin RB3/CCP1/P1A is continu-
ously active and pin RB7/PGD/T1OSI/P1D/KBI3 is
modulated. In the Reverse mode, pin RB6/PGC/
T1OSO/T13CKI/P1C/KBI2 is continuously active and
pin RB2/P1B/INT2 is modulated. These are illustrated
in Figure 15-8.
The TRISB<3:2> and TRISB<7:6> bits must be cleared
to make the P1A, P1B, P1C and P1D pins output.
FIGURE 15-8:
FULL-BRIDGE PWM OUTPUT (ACTIVE-HIGH)
Forward Mode
P1A
Period
Duty Cycle
P1B
P1C
P1D
(1)
(1)
Reverse Mode
P1A
Duty Cycle
Period
P1B
P1C
P1D
(1)
(1)
Note 1: At this time, the TMR2 register is equal to the PR2 register.
© 2007 Microchip Technology Inc.
DS39605F-page 123