English
Language : 

PIC18LF2X_13 Datasheet, PDF (198/560 Pages) Microchip Technology – PIC18(L)F2X/45K50 USB Flash MCU Product Brief
PIC18(L)F2X/4XK22
FIGURE 14-14:
PWM AUTO-SHUTDOWN WITH FIRMWARE RESTART (PXRSEN = 0)
Timer
Overflow
Missing Pulse
(Auto-Shutdown)
Timer
Overflow
Timer
Overflow
Missing Pulse
(CCPxASE not clear)
Timer
Overflow
Timer
Overflow
PWM Activity
Shutdown Event
PWM Period
Start of
PWM Period
CCPxASE bit
Shutdown
Event Occurs
Shutdown
Event Clears
PWM
Resumes
CCPxASE
Cleared by
Firmware
14.4.4 AUTO-RESTART MODE
The Enhanced PWM can be configured to
automatically restart the PWM signal once the auto-
shutdown condition has been removed. Auto-restart is
enabled by setting the PxRSEN bit in the PWMxCON
register.
If auto-restart is enabled, the CCPxASE bit will remain
set as long as the auto-shutdown condition is active.
When the auto-shutdown condition is removed, the
CCPxASE bit will be cleared via hardware and normal
operation will resume.
FIGURE 14-15:
PWM AUTO-SHUTDOWN WITH AUTO-RESTART (PXRSEN = 1)
Timer
Overflow
Missing Pulse
(Auto-Shutdown)
Timer
Overflow
Timer
Overflow
Missing Pulse
(CCPxASE not clear)
Timer
Overflow
Timer
Overflow
PWM Activity
Shutdown Event
PWM Period
Start of
PWM Period
CCPxASE bit
Shutdown
Event Occurs
Shutdown
Event Clears
PWM
Resumes
CCPxASE
Cleared by
Hardware
DS41412F-page 198
 2010-2012 Microchip Technology Inc.