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) 16 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) 16 Page - STMicroelectronics

Back Button 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 AN4157 Datasheet HTML 19Page - STMicroelectronics AN4157 Datasheet HTML 20Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 24 page
background image
Peripheral firmware examples description
AN4157
16/24
Doc ID 023629 Rev 1
The associated firmware performs the following operations:
●
It configures the Tamper pin to be falling edge, and enables the Tamper interrupt.
●
It writes the data to all RTC Backup data registers, then check whether the data were
correctly written. If yes, LED3 turns on, otherwise LED4 turns on.
●
It applies a low level on the TAMPER2 pin (PA00) by pressing TAMPER push button,
the RTC backup data registers are reset and the Tamper interrupt is generated.
The corresponding ISR then checks if the RTC Backup data registers are cleared. If so,
LED5 is switched ON, otherwise LED6 is switched ON.
3.18
SysTick timer example
3.18.1
Purpose
This example shows how to configure the SysTick timer and use it to generate a 1 ms time
base.
3.18.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 periodical interrupts.
●
The SysTick timer interrupt is triggered every 1 ms.
●
A Delay function is implemented, based on the SysTick timer end-of-count event.
The eight LEDs are toggled with a timing defined by the Delay function.
3.19
TIM asymmetric example
3.19.1
Purpose
This example describes how to configure the timer 1 and 8 peripheral to generate an
asymmetric signal.
3.19.2
Description
TIM8 is configured to generate an asymmetric signal with a programmable phase-shifted
signal on TIM8_CH2:
●
TIM8 Channel 1 is configured in PWM2 mode
●
TIM8 Channel 2 is configured in Asymmetric PWM2 mode
●
The counter mode is center aligned mode
●
The pulse length and the phase shift are programmed consecutively in TIM8_CCR2
and TIM8_CCR1.



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