English
Language : 

PIC18F6585 Datasheet, PDF (183/496 Pages) Microchip Technology – 64/68/80-Pin High-Performance, 64-Kbyte Enhanced Flash Microcontrollers with ECAN Module
PIC18F6585/8585/6680/8680
16.2.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
PGC is continuously active and pin P1B is modulated.
These are illustrated in Figure 16-7.
P1A, P1B, P1C and P1D outputs are multiplexed with
the PORTC<2>, PORTE<6:5> and PORTG<4> data
latches. The TRISC<2>, TRISC<6:5> and TRISG<4>
bits must be cleared to make the P1A, P1B, P1C and
P1D pins outputs.
FIGURE 16-7:
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.
DS30491C-page 181