English
Language : 

PIC12F1822-I Datasheet, PDF (223/436 Pages) Microchip Technology – 8/14-Pin Flash Microcontrollers with XLP Technology
PIC12(L)F1822/PIC16(L)F1823
24.4.4 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 P1RSEN bit in the PWM1CON register.
If auto-restart is enabled, the CCP1ASE bit will remain
set as long as the auto-shutdown condition is active.
When the auto-shutdown condition is removed, the
CCP1ASE bit will be cleared via hardware and normal
operation will resume.
FIGURE 24-15:
PWM AUTO-SHUTDOWN WITH AUTO-RESTART (P1RSEN = 1)
Timer
Overflow
Missing Pulse
(Auto-Shutdown)
Timer
Overflow
Timer
Overflow
Missing Pulse
(CCP1ASE not clear)
Timer
Overflow
Timer
Overflow
PWM Activity
Shutdown Event
PWM Period
Start of
PWM Period
CCP1ASE bit
Shutdown
Event Occurs
Shutdown
Event Clears
PWM
Resumes
CCP1ASE
Cleared by
Hardware
 2010-2012 Microchip Technology Inc.
DS41413C-page 223