Microchip Technology MCP1631RD-MCC2 Data Sheet

Page of 338
 2006-2012 Microchip Technology Inc.
DS41291G-page 147
PIC16F882/883/884/886/887
FIGURE 11-15:
PWM AUTO-SHUTDOWN WITH FIRMWARE RESTART (PRSEN = 0) 
11.6.5
AUTO-RESTART MODE
The Enhanced PWM can be configured to automati-
cally restart the PWM signal once the auto-shutdown
condition has been removed. Auto-restart is enabled by
setting the PRSEN bit in the PWM1CON register.
If auto-restart is enabled, the ECCPASE bit will remain
set as long as the auto-shutdown condition is active.
When the auto-shutdown condition is removed, the
ECCPASE bit will be cleared via hardware and normal
operation will resume.
FIGURE 11-16:
PWM AUTO-SHUTDOWN WITH AUTO-RESTART ENABLED (PRSEN = 1) 
Shutdown
PWM
ECCPASE bit
Activity
Event
Shutdown
Event Occurs
Shutdown
Event Clears
PWM
Resumes
Start of
PWM Period
ECCPASE
Cleared by
Firmware
PWM Period
Shutdown
PWM
ECCPASE bit
Activity
Event
Shutdown
Event Occurs
Shutdown
Event Clears
PWM
Resumes
PWM Period
Start of
PWM Period