English
Language : 

PIC18F258 Datasheet, PDF (137/384 Pages) Microchip Technology – High Performance, 28/40-Pin Enhanced FLASH Microcontrollers with CAN
PIC18FXX8
16.5.3 FULL-BRIDGE MODE
In Full-Bridge Output mode, four pins are used as out-
puts; however, only two outputs are active at a time. In
the Forward mode, pin RD4/PSP4/ECCP1/P1A is con-
tinuously active, and pin RD7/PSP7/P1D is modulated.
In the Reverse mode, RD6/PSP6/P1C pin is continu-
ously active, and RD5/PSP5/P1B pin is modulated.
These are illustrated in Figure 16-5.
FIGURE 16-5:
FULL-BRIDGE PWM OUTPUT
FORWARD MODE
Period
P1A(2)
Duty Cycle
P1B(2)
P1A, P1B, P1C and P1D outputs are multiplexed with
the PORTD<4:7> data latches. The TRISD<4:7> bits
must be cleared to make the P1A, P1B, P1C, and P1D
pins output.
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 asserted high.
 2002 Microchip Technology Inc.
Preliminary
DS41159B-page 135