English
Language : 

PIC18F2X1X Datasheet, PDF (145/380 Pages) Microchip Technology – 28/40/44-PIN FLASH MICROCONTROLLERS WITH 10-BIT A/D AND NANO WATT TECHNOLOGY
PIC18F2X1X/4X1X
15.4.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 P1A is continuously active
and pin P1D is modulated. In the Reverse mode, pin
P1C is continuously active and pin P1B is modulated.
These are illustrated in Figure 15-6.
P1A, P1B, P1C and P1D outputs are multiplexed with
the PORTC<2> and PORTD<7:5> data latches. The
TRISC<2> and TRISD<7:5> bits must be cleared to
make the P1A, P1B, P1C and P1D pins outputs.
FIGURE 15-6:
FULL-BRIDGE PWM OUTPUT
Forward Mode
P1A(2)
P1B(2)
Period
Duty Cycle
P1C(2)
P1D(2)
(1)
(1)
Reverse Mode
P1A(2)
Duty Cycle
Period
P1B(2)
P1C(2)
P1D(2)
(1)
(1)
Note 1: At this time, the TMR2 register is equal to the PR2 register.
Note 2: Output signal is shown as active-high.
 2004 Microchip Technology Inc.
Preliminary
DS39636A-page 143