поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN4157 датащи(PDF) 14 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) 14 Page - STMicroelectronics

Back Button 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 AN4157 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 24 page
background image
Peripheral firmware examples description
AN4157
14/24
Doc ID 023629 Rev 1
LED3 is used to monitor the system state as following:
●
LED3 toggling: system in Run mode
●
LED3 off: system in Standby mode
●
LED3 toggling: system resumed from Standby mode
These steps are repeated in an infinite loop.
Note:
To measure the current consumption in Standby mode, please refer to Chapter 3.12:
Current consumption example.
3.14
Stop mode example
3.14.1
Purpose
This example shows how to enter Stop mode and wakeup using EXTI Line interrupts. The
EXTI Line sources are PA0 and RTC Alarm.
3.14.2
Description
In this example:
●
The EXTI Line0 is configured to generate interrupt on falling edge.
●
The EXTI line17 (RTC Alarm) is configured to generate interrupt on rising edge.
●
The SysTick timer is programmed to generate an interrupt every 250 ms. In the SysTick
interrupt handler, LED3 is toggled, which indicates whether the MCU is in Stop or Run
mode.
The system enters Stop mode and waits for the RTC Alarm to be generated every 5s, or for
the user push-button to be pressed.
●
If the RTC Alarm (EXTI_Line17) has been configured to wakeup the microcontroller
from Stop mode, LED4 and LED3 is On.
●
If the User push-button (EXTI_Line0) has been configured to wakeup the
microcontroller from Stop mode, LED5 and LED3 is On.
LEDs are used to monitor the system state:
●
LED3 ON: system in Run mode
●
LED3, LED4 and LED5 OFF: system in Stop mode
●
LED5 ON if EXTI Line0 is used to exit from Stop
●
LED4 ON if EXTI line17(RTC Alarm) is used to exit from Stop.
3.15
RCC (reset and clock controller) example
3.15.1
Purpose
This example shows how to:
●
Configure the HSE (High Speed Clock) as an RCC clock
●
Use the Clock Security System (CSS) feature to generate an NMI interrupt
●
Output the system clock on MCO



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



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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