English
Language : 

PIC18F87J10 Datasheet, PDF (182/394 Pages) Microchip Technology – 64/80-Pin High-Performance, 1-Mbit Flash Microcontrollers with nanoWatt Technology
PIC18F87J10 FAMILY
The P1A, P1B, P1C and P1D output latches may not be
in the proper states when the PWM module is initialized.
Enabling the PWM pins for output at the same time as
the ECCP module may cause damage to the applica-
tion circuit. The ECCP module must be enabled in the
proper output mode and complete a full PWM cycle
before configuring the PWM pins as outputs. The com-
pletion of a full PWM cycle is indicated by the TMR2IF
bit being set as the second PWM period begins.
FIGURE 17-10: PWM AUTO-SHUTDOWN (P1RSEN = 1, AUTO-RESTART ENABLED)
Shutdown Event
PWM Period
ECCPASE bit
PWM Activity
Start of
PWM Period
Normal PWM
Shutdown Shutdown
Event Occurs Event Clears
PWM
Resumes
FIGURE 17-11: PWM AUTO-SHUTDOWN (P1RSEN = 0, AUTO-RESTART DISABLED)
Shutdown Event
PWM Period
ECCPASE bit
PWM Activity
Start of
PWM Period
Normal PWM
Shutdown
Event Occurs
ECCPASE
Cleared by
Shutdown Firmware PWM
Event Clears
Resumes
DS39663A-page 180
Advance Information
 2005 Microchip Technology Inc.