Electronic Components Datasheet Search
  English  ▼

X  

AN3147 Datasheet(PDF) 18 Page - STMicroelectronics

Part # AN3147
Description  Power management in STM8L and STM8AL
PDF  25 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3147 Datasheet(HTML) 18 Page - STMicroelectronics

Back Button AN3147 Datasheet HTML 14Page - STMicroelectronics AN3147 Datasheet HTML 15Page - STMicroelectronics AN3147 Datasheet HTML 16Page - STMicroelectronics AN3147 Datasheet HTML 17Page - STMicroelectronics AN3147 Datasheet HTML 18Page - STMicroelectronics AN3147 Datasheet HTML 19Page - STMicroelectronics AN3147 Datasheet HTML 20Page - STMicroelectronics AN3147 Datasheet HTML 21Page - STMicroelectronics AN3147 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 25 page
background image
Run and low power modes
AN3147
18/25
DocID17035 Rev 3
4.8
Low power wait mode
This mode is entered by executing a WFE instruction, while the MCU is in Low power run
mode. It can be exited only by means of an external or internal event, in this case the MCU
returns to Low power run mode. WFI instruction cannot be used, because interrupts have to
be disabled in Low power run mode.
4.9
Halt mode
In this mode the system clock is stopped. This means that the CPU and all the peripherals
requiring clocks are disabled, except for the following cases:
The HSI clock is not stopped if used by the SWIM
The system clock source is not stopped if a Flash/Data EEPROM write operation is in
progress.
The LSI clock is not stopped if used by the SWIM, by the IWDG or if the “IWDG_HALT”
option bit is disabled.
In Halt mode, none of the peripherals is clocked and the digital part of the MCU consumes
almost no power.
4.9.1
Entering Halt mode
The MCU enters Halt mode when a HALT instruction is executed. Before executing a HALT
instruction, the application must clear any pending peripheral interrupt by clearing the
interrupt pending bit in the corresponding peripheral configuration register. Otherwise, the
HALT instruction is executed but the MCU wakes up immediately and the program
execution continues.
However, the Halt procedure can be delayed if one of the following flags is set:
SWBSY flag in the CLK_SWCR register
EEBUSY flag in the CLK_REGCSR register
RTCSWBSY flag in the CLK_CRTCR register
BEEPSWBSY flag in the CLK_CBEEPR register when the Beep is enabled in Active-
halt mode.
If the SAHALT bit is set in the CLK_ICKCR register, the main regulator (MVR) is switched off
without taking into account that some high speed clocks may be used by the system.



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


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