| 전자부품 데이터시트 검색엔진 |
|
AN3404 데이터시트(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3404 데이터시트(HTML) 14 Page - STMicroelectronics |
|
14 / 30 page ![]() Low power modes AN3404 14/30 Doc ID 018847 Rev 3 4.7.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. 4.7.2 Exiting Halt mode Wakeup from Halt mode is triggered by an external interrupt. This wakeup is sourced by a general purpose I/O port configured as an interrupt input or by an alternate function pin capable of triggering a peripheral interrupt. The system clock is then restarted at the last selected clock source before the system enters Halt mode. 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 Global configuration (CFG_GCR) register. Refer to Section 4.9: Activation level control on page 15. 4.8 Active-halt In Active-halt mode, the main oscillator, the CPU, and almost all peripherals are stopped. Only the LSI RC oscillator runs to drive the SWIM and IWDG, if enabled. 4.8.1 Entering Active-halt mode The user can enter this mode by a HALT instruction, once auto-wakeup (AWU) is enabled or a ProxSense acquisition is ongoing. ProxSense acquisition must have started or the AWU must have been correctly configured and enabled, before executing the HALT instruction. 4.8.2 Exiting Active-halt mode Wakeup from Active-halt mode is triggered by an external interrupt, a ProxSense interrupt or an AWU interrupt. The system clock is then restarted at the last selected clock source before the system enters Halt mode. 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 Global configuration (CFG_GCR) register. Refer to Section 4.9: Activation level control. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |