Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

PIC16F570 Datenblatt(PDF) 49 Page - Microchip Technology

Teilenummer PIC16F570
Bauteilbeschribung  28-Pin, 8-Bit Flash Microcontroller
PDF  129 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F570 Datenblatt(HTML) 49 Page - Microchip Technology

Back Button PIC16F570 Datasheet HTML 45Page - Microchip Technology PIC16F570 Datasheet HTML 46Page - Microchip Technology PIC16F570 Datasheet HTML 47Page - Microchip Technology PIC16F570 Datasheet HTML 48Page - Microchip Technology PIC16F570 Datasheet HTML 49Page - Microchip Technology PIC16F570 Datasheet HTML 50Page - Microchip Technology PIC16F570 Datasheet HTML 51Page - Microchip Technology PIC16F570 Datasheet HTML 52Page - Microchip Technology PIC16F570 Datasheet HTML 53Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 129 page
background image
 2013-2014 Microchip Technology Inc.
DS40001684E-page 49
PIC16F570
8.10
Power-down Mode (Sleep)
A device may be powered down (Sleep) and later
Powered-up (wake-up from Sleep).
8.10.1
SLEEP
The Power-Down mode is entered by executing a
SLEEP instruction.
If enabled, the Watchdog Timer will be cleared but
keeps running, the TO bit of the STATUS register is set,
the PD bit of the STATUS register is cleared and the
oscillator driver is turned off. The I/O ports maintain the
status they had before the SLEEP instruction was
executed (driving high, driving low or high-impedance).
For lowest current consumption while powered down,
the T0CKI input should be at VDD or VSS and the
MCLR/VPP pin must be at a logic high level if MCLR is
enabled.
8.10.2
WAKE-UP FROM SLEEP
The device can wake-up from Sleep through one of
the following events:
1.
An external Reset input on MCLR/VPP pin.
2.
A Watchdog Timer Time-out Reset (if WDT was
enabled).
3.
From an interrupt source, see Section 8.11
“Interrupts” for more information.
On waking from Sleep, the processor will continue to
execute the instruction immediately following the
SLEEP instruction. If the WUR bit is also set, upon
waking from Sleep, the device will reset. If the GIE bit
is also set, upon waking from Sleep, the processor will
branch
to
the
interrupt
vector.
Please
see
Section 8.11 “Interrupts” for more information.
The TO and PD bits can be used to determine the
cause of the device Reset. The TO bit is cleared if a
WDT time-out occurred and subsequently caused a
wake-up. The PD bit, which is set on power-up, is
cleared when SLEEP is invoked.
.
The WDT is cleared when the device wakes from
Sleep, regardless of the wake-up source.
8.11
Interrupts
The interrupt feature allows certain events to preempt
normal program flow. Firmware is used to determine
the source of the interrupt and act accordingly. Some
interrupts can be configured to wake the MCU from
Sleep mode.
These following interrupt sources are available on the
PIC16F570 device:
• Timer0 Overflow
• ADC Completion
• Comparator Output Change
• Interrupt-on-change pin
Refer to the corresponding chapters for details.
8.11.1
OPERATION
Interrupts are disabled upon any device Reset. They
are enabled by setting the following bits:
• GIE bit of the INTCON0 register
• Interrupt Enable bit(s) for the specific interrupt
event(s)
The enable bits for specific interrupts can be found in
the INTCON1 register. An interrupt is recorded for a
specific interrupt via flag bits found in the INTCON0
register.
The ADC Conversion flag and the Timer0 Overflow
flags will be set regardless of the status of the GIE and
individual interrupt enable bits.
The Comparator and Interrupt-on-change flags must
be enabled for use. One or both of the comparator
outputs can be enabled to affect the interrupt flag by
setting the C1WU bit in the CM1CON0 register and the
C2WU bit in the CM2CON0 register. The Interrupt-on-
change flag is enabled by setting the RBWU bit in the
OPTION register.
Note:
A Reset generated by a WDT time-out
does not drive the MCLR pin low.
CAUTION: Right before entering Sleep, read the
input pins. When in Sleep, wake-up
occurs when the values at the pins
change from the state they were in at the
last reading. If a wake-up on change
occurs and the pins are not read before
re-entering Sleep, a wake-up will occur
immediately even if no pins change while
in Sleep mode.
CAUTION: Right before entering Sleep, read the
comparator
Configuration
register(s)
CM1CON0 and CM2CON0. When in
Sleep, wake-up occurs when the com-
parator output bit C1OUT and C2OUT
change from the state they were in at the
last reading. If a wake-up on comparator
change occurs and the pins are not read
before re-entering Sleep, a wake-up will
occur immediately, even if no pins
change while in Sleep mode.



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


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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