công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN4157 bảng dữ liệu(PDF) 9 Page - STMicroelectronics

tên linh kiện AN4157
Giải thích chi tiết về linh kiện  STM32F3DISCOVERY peripheral firmware examples
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4157 bảng dữ liệu(HTML) 9 Page - STMicroelectronics

Back Button AN4157 Datasheet HTML 5Page - STMicroelectronics AN4157 Datasheet HTML 6Page - STMicroelectronics AN4157 Datasheet HTML 7Page - STMicroelectronics AN4157 Datasheet HTML 8Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 24 page
background image
AN4157
Peripheral firmware examples description
Doc ID 023629 Rev 1
9/24
3.6
EXTI example
3.6.1
Purpose
This example shows how to configure an external interrupt line.
3.6.2
Description
In this example:
●
PA0 pin is configured in input floating.
●
PA0 is configured to be used as an external interrupt source line 0 (EXTI0).
●
The EXTI line 0 is configured to generate an interrupt on each rising edge detected on
the PA0 pin. The interrupt is triggered every time the user push-button is pressed.
●
In the NVIC (nested vectored interrupt controller), the EXTI line 0 interrupt priority is
configured and the interrupt is enabled.
When the program is executed and the user push-button is pressed (EXTI0 interrupt
routine), LED4, LED6, LED9 and LED10 are toggled.
3.7
Flash program example
3.7.1
Purpose
This example describes how to program the STM32F30xor STM32F31x internal Flash
memory.
3.7.2
Description
In this example:
●
After Reset, the Flash memory Program/Erase Controller is locked. The
FLASH_Unlock function is used to unlock it.
●
Before programming the desired addresses, an erase operation is performed using the
Flash erase page feature. The erase procedure starts with the calculation of the
number of pages to be used. Then all these pages are erased one by one by calling
FLASH_ErasePage function.
●
Once this operation is finished, the programming operation is performed by using the
FLASH_ProgramWord function. The written data is then checked and the result of the
programming operation is stored into the MemoryProgramStatus variable.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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