전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN4157 데이터시트(PDF) 13 Page - STMicroelectronics

부품명 AN4157
상세설명  STM32F3DISCOVERY peripheral firmware examples
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4157 데이터시트(HTML) 13 Page - STMicroelectronics

Back Button AN4157 Datasheet HTML 9Page - STMicroelectronics AN4157 Datasheet HTML 10Page - STMicroelectronics AN4157 Datasheet HTML 11Page - STMicroelectronics AN4157 Datasheet HTML 12Page - STMicroelectronics AN4157 Datasheet HTML 13Page - STMicroelectronics AN4157 Datasheet HTML 14Page - STMicroelectronics AN4157 Datasheet HTML 15Page - STMicroelectronics AN4157 Datasheet HTML 16Page - STMicroelectronics AN4157 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 24 page
background image
AN4157
Peripheral firmware examples description
Doc ID 023629 Rev 1
13/24
Stop mode
RTC clocked by LSI
Regulator in low-power mode
HSI and HSE OFF. LSI if not used as RTC clock source
No IWDG
Flash memory in deep power-down mode
Automatic Wakeup using RTC clocked by LSI
Standby mode
RTC OFF
IWDG and LSI OFF
Wakeup using Wakeup Pin (PA.00)
Standby mode with RTC clocked by LSI
RTC clocked by LSI
IWDG OFF and LSI OFF if not used as RTC clock source
Automatic Wakeup using RTC clocked by LSI
3.13
Standby mode example
3.13.1
Purpose
This example shows how to put the STM32F30x/31x in Standby mode and wake it up from
this mode using RTC Alarm A external reset.
3.13.2
Description
In this example:
The SysTick timer is initialized.
The SysTick timer interrupt is enabled in the NVIC.
The SysTick timer/counter starts in free running mode to generate periodic interrupts.
The SysTick timer interrupt is triggered every 250 ms. In the SysTick interrupt handler,
LED3 is toggled; this is used to indicate whether the MCU is in Standby or Run mode.
The EXTI line 0 is configured to generate an interrupt on each rising/falling edge
detected on the PA0 pin. The external interrupt is generated every time the PA0
changes level (GND or VDD).
When a falling or rising edge is detected on the EXTI line, an interrupt is generated. In
the EXTI handler routine, the RTC is configured to generate an Alarm event in 3
seconds, after which the system enters Standby mode and LED3 is Off.
After waking-up from Standby mode, the program execution restarts in the same way as
after a reset; the RTC configuration (clock source, prescaler) is kept and LED3 toggles
again. As a result, there is no need to configure the RTC.



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


데이터시트 다운로드

Go To PDF Page


링크 URL



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