PIC18F13K50-E/P MICROCHIP [Microchip Technology], PIC18F13K50-E/P Datasheet - Page 128

no-image

PIC18F13K50-E/P

Manufacturer Part Number
PIC18F13K50-E/P
Description
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC18F1XK50/PIC18LF1XK50
FIGURE 14-12:
14.4.5
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 14-13:
DS41350C-page 126
Note 1: The
Shutdown
Shutdown
2: Writing to the ECCPASE bit is disabled
3: Once the auto-shutdown condition has
ECCPASE bit
PWM
ECCPASE bit
PWM
AUTO-RESTART MODE
level-based signal, not an edge-based
signal. As long as the level is present, the
auto-shutdown will persist.
while
persists.
been removed and the PWM restarted
(either through firmware or auto-restart)
the PWM signal will always restart at the
beginning of the next PWM period.
Activity
Activity
Event
Event
auto-shutdown
an
PWM Period
PWM Period
PWM AUTO-SHUTDOWN WITH FIRMWARE RESTART (PRSEN = 0)
PWM AUTO-SHUTDOWN WITH AUTO-RESTART ENABLED (PRSEN = 1)
Start of
Start of
auto-shutdown
condition
Normal PWM
Normal PWM
condition
is
Preliminary
a
Event Occurs
Event Occurs
PWM Period
PWM Period
Shutdown
Shutdown
Event Clears
Event Clears
Shutdown
Shutdown
Cleared by
ECCPASE
Firmware
© 2009 Microchip Technology Inc.
Resumes
Resumes
PWM
PWM

Related parts for PIC18F13K50-E/P