| Zakładka z wyszukiwarką danych komponentów |
|
STM8S Arkusz danych(PDF) 103 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM8S Arkusz danych(HTML) 103 Page - STMicroelectronics |
|
103 / 467 page ![]() DocID14587 Rev 14 103/467 RM0016 Power management 104 10.2.1 Wait mode Wait mode is entered from Run mode by executing a WFI (wait for interrupt) instruction: this stops the CPU but allows the other peripherals and interrupt controller to continue to run. Therefore the consumption decreases accordingly. Wait mode can be combined with PCG (peripheral clock gating), reduced CPU clock frequency and low mode clock source selection (LSI, HSI) to further reduce the power consumption of the device. Refer to the Clock control (CLK) description. In Wait mode, all the registers and RAM contents are preserved, the previously defined clock configuration remains unchanged (Clock master status register (CLK_CMSR)). When an internal or external interrupt request occurs, the CPU wakes-up from Wait mode and resumes processing. 10.2.2 Halt mode In this mode the master clock is stopped. This means that the CPU and all the peripherals clocked by fMASTER or by derived clocks are disabled. As a result, none of the peripherals are clocked and the digital part of the MCU consumes almost no power. In Halt mode, all the registers and RAM contents are preserved, by default the clock configuration remains unchanged (Clock master status register (CLK_CMSR)). The MCU enters Halt mode when a HALT instruction is executed. Wakeup from Halt mode is triggered by an external interrupt, sourced by a GPIO port configured as interrupt input or an Alternate Function pin capable of triggering a peripheral interrupt. In this mode the MVR regulator is switched off to save power. Only the LPVR regulator (and brown-out reset) is active. Fast clock wakeup The HSI RC start-up time is much faster than the HSE crystal start-up time (refer to the Electrical Parameters in the datasheet). Therefore, to optimize the MCU wakeup time, it is recommended to select the HSI clock as the fMASTER clock source before entering Halt mode. This selection can be done without clock switching using the FHWU bit in the Internal clock register (CLK_ICKR). Refer to the Clock control (CLK) chapter. 10.2.3 Active-halt modes Active-halt mode is similar to Halt mode except that it does not require an external interrupt for wakeup. It uses the AWU to generate a wakeup event internally after a programmable delay. In Active-halt mode, the main oscillator, the CPU and almost all the peripherals are stopped. Only the LSI RC or HSE oscillators are running to drive the AWU counters and IWD counter if enabled. To enter Active-halt mode, first enable the AWU as described in the AWU section. Then execute a HALT instruction. |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów All Rights Reserved©Alldatasheet.com |
| 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 |