PIC18F23K20-E/MLQTP MICROCHIP [Microchip Technology], PIC18F23K20-E/MLQTP Datasheet - Page 178

no-image

PIC18F23K20-E/MLQTP

Manufacturer Part Number
PIC18F23K20-E/MLQTP
Description
28/40/44-Pin Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC18F2XK20/4XK20
FIGURE 16-10:
16.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 16-11:
DS41303B-page 176
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
Advance Information
condition
is
a
Event Occurs
Event Occurs
PWM Period
PWM Period
Shutdown
Shutdown
Event Clears
Event Clears
Shutdown
Shutdown
Cleared by
ECCPASE
Firmware
© 2007 Microchip Technology Inc.
Resumes
Resumes
PWM
PWM

Related parts for PIC18F23K20-E/MLQTP