Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC16F1826-E/ML Datasheet(PDF) 222 Page - Microchip Technology

Part # PIC16F1826-E/ML
Description  18/20/28-Pin Flash Microcontrollers with nanoWatt XLP Technology
PDF  406 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F1826-E/ML Datasheet(HTML) 222 Page - Microchip Technology

Back Button PIC16F1826-E/ML Datasheet HTML 218Page - Microchip Technology PIC16F1826-E/ML Datasheet HTML 219Page - Microchip Technology PIC16F1826-E/ML Datasheet HTML 220Page - Microchip Technology PIC16F1826-E/ML Datasheet HTML 221Page - Microchip Technology PIC16F1826-E/ML Datasheet HTML 222Page - Microchip Technology PIC16F1826-E/ML Datasheet HTML 223Page - Microchip Technology PIC16F1826-E/ML Datasheet HTML 224Page - Microchip Technology PIC16F1826-E/ML Datasheet HTML 225Page - Microchip Technology PIC16F1826-E/ML Datasheet HTML 226Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 222 / 406 page
background image
PIC16F/LF1826/27
DS41391C-page 222
Preliminary
 2010 Microchip Technology Inc.
23.4.3
ENHANCED PWM
AUTO-SHUTDOWN MODE
The PWM mode supports an Auto-Shutdown mode that
will disable the PWM outputs when an external
shutdown event occurs. Auto-Shutdown mode places
the PWM output pins into a predetermined state. This
mode is used to help prevent the PWM from damaging
the application.
The auto-shutdown sources are selected using the
CCPxAS<2:0> bits of the CCPxAS register. A shutdown
event may be generated by:
•A logic ‘0’ on the INT pin
•A logic ‘1’ on a Comparator (Cx) output
A shutdown condition is indicated by the CCPxASE
(Auto-Shutdown Event Status) bit of the CCPxAS
register. If the bit is a ‘0’, the PWM pins are operating
normally. If the bit is a ‘1’, the PWM outputs are in the
shutdown state.
When a shutdown event occurs, two things happen:
The CCPxASE bit is set to ‘1’. The CCPxASE will
remain set until cleared in firmware or an auto-restart
occurs (see Section 12.4.4 “Auto-Restart Mode”).
The enabled PWM pins are asynchronously placed in
their shutdown states. The PWM output pins are
grouped into pairs [PxA/PxC] and [PxB/PxD]. The state
of each pin pair is determined by the PSSxAC and
PSSxBD bits of the CCPxAS register. Each pin pair may
be placed into one of three states:
•Drive logic ‘1’
•Drive logic ‘0’
• Tri-state (high-impedance)
FIGURE 23-14:
PWM AUTO-SHUTDOWN WITH FIRMWARE RESTART (PXRSEN = 0)
Note 1: The
auto-shutdown
condition
is
a
level-based signal, not an edge-based
signal. As long as the level is present, the
auto-shutdown will persist.
2: Writing to the CCPxASE bit of the
CCPxAS register is disabled while an
auto-shutdown condition persists.
3: Once the auto-shutdown condition has
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.
4: Prior to an auto-shutdown event caused
by a comparator output or INT pin event,
a software shutdown can be triggered in
firmware by setting the CCPxASE bit of
the
CCPxAS
register
to
‘1’. The
Auto-Restart feature tracks the active
status of a shutdown caused by a
comparator output or INT pin event only. If
it is enabled at this time, it will immediately
clear this bit and restart the ECCP module
at the beginning of the next PWM period.
Shutdown
PWM
CCPxASE bit
Activity
Event
Shutdown
Event Occurs
Shutdown
Event Clears
PWM
Resumes
PWM Period
Start of
PWM Period
CCPxASE
Cleared by
Firmware
Timer
Overflow
Timer
Overflow
Timer
Overflow
Timer
Overflow
Missing Pulse
(Auto-Shutdown)
Missing Pulse
(CCPxASE not clear)
Timer
Overflow



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com