数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

RM0312 数据表(PDF) 70 Page - STMicroelectronics

部件名 RM0312
功能描述  STM8TL5xxx microcontroller family
PDF  275 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

RM0312 数据表(HTML) 70 Page - STMicroelectronics

Back Button RM0312 Datasheet HTML 66Page - STMicroelectronics RM0312 Datasheet HTML 67Page - STMicroelectronics RM0312 Datasheet HTML 68Page - STMicroelectronics RM0312 Datasheet HTML 69Page - STMicroelectronics RM0312 Datasheet HTML 70Page - STMicroelectronics RM0312 Datasheet HTML 71Page - STMicroelectronics RM0312 Datasheet HTML 72Page - STMicroelectronics RM0312 Datasheet HTML 73Page - STMicroelectronics RM0312 Datasheet HTML 74Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 70 / 275 page
background image
Power management
RM0312
70/275
DocID022352 Rev 3
9.4.1
Wait mode
Wait mode is entered from run mode by executing a WFI (Wait For Interrupt) or WFE (Wait
For Event) instruction: this stops the CPU but allows the other peripherals and interrupt
controller to continue running. The consumption decreases accordingly. Wait mode can be
combined with PCG to further reduce power consumption of the device. Refer to
Section 8.1.1: Peripheral clock gating (PCG) on page 62.
In Wait mode, all the registers and RAM contents are preserved and the clock configuration
selected through the Clock divider register (CLK_CKDIVR) remains unchanged.
Wait for interrupt (WFI) mode
When an internal or external interrupt request occurs, the CPU wakes up from WFI mode,
services the interrupt and resumes processing.
Note:
In an interrupt based application, where most of the processing is done through the interrupt
routines, the main program may be suspended by setting the activation level bit (AL) in the
CFG_GCR register. Setting this bit causes the CPU to return to WFI mode without restoring
the main execution context. This saves power by removing both the save/restore context
activity and the need for a main software loop execution for power management (in order to
return to WFI mode).
Wait for event (WFE) mode
There are two ways to wake up the CPU from WFE mode (see Table 17.: Low power mode
management on page 69):
When an interrupt occurs:
the CPU wakes up from WFE mode and services the interrupt. After processing
the interrupt, the processor goes back to WFE mode.
When a WFE event occurs:
the CPU wakes up and resumes processing. As the processing resumes directly
after the WFE instruction, there is no context save/restore activity (this saves time
and power consumption).
Note:
In WFE mode, the interrupt sources are configured as external interrupts only if the
corresponding status flags are cleared in the WFE_CR1 or WFE_CR2 register. Otherwise,
they generate WFE events (no interrupt serviced and the user has to properly clear the
corresponding status flags in the EXTI_SR1 or EXTI_SR2 register). Refer to Section 9.5:
WFE registers on page 72, External interrupt status register 1 (EXTI_SR1) on page 53 and
External interrupt status register 2 (EXTI_SR2) on page 54.
Further power consumption reduction may be achieved using this mode together with
execution from RAM. In some very low power applications, when the main software routine
is short and has a low execution time, this routine can be moved to RAM and executed from
RAM. As the Flash program memory is not used at wakeup, the power consumption is then
reduced during run time.
At any moment, another routine (stored in the Flash program memory) can be executed by
software by simply calling/jumping to this routine.



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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