EasyManuals Logo
Home>ST>Microcontrollers>STM32F410

ST STM32F410 User Manual

ST STM32F410
771 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #341 background imageLoading...
Page #341 background image
RM0401 Rev 3 341/771
RM0401 General-purpose timers (TIM5)
389
Figure 97. General-purpose timer block diagram
15.3 TIM5 functional description
15.3.1 Time-base unit
The main block of the programmable timer is a 32-bit counter with its related auto-reload
register. The counter can count up. The counter clock can be divided by a prescaler.
The counter, the auto-reload register and the prescaler register can be written or read by
software. This is true even when the counter is running.
The time-base unit includes:
Counter Register (TIMx_CNT)
Prescaler Register (TIMx_PSC):
Auto-Reload Register (TIMx_ARR)
The auto-reload register is preloaded. Writing to or reading from the auto-reload register
accesses the preload register. The content of the preload register are transferred into the
shadow register permanently or at each update event (UEV), depending on the auto-reload
preload enable bit (ARPE) in TIMx_CR1 register. The update event is sent when the counter
reaches the overflow (or underflow when downcounting) and if the UDIS bit equals 0 in the
TIMx_CR1 register. It can also be generated by software. The generation of the update
event is described in detail for each configuration.
ƵƚŽ ƌĞůŽĂĚ ƌĞŐ ŝƐ ƚĞƌ
ĂƉƚƵ ƌĞĐŽŵ ƉĂƌĞ ϭ ƌĞŐ ŝƐ ƚĞƌ
ĂƉƚƵ ƌĞĐŽŵ ƉĂƌĞ Ϯ ƌĞŐ ŝƐ ƚĞƌ
h
h
h
ϭ /
Ϯ/
ŝŐŐĞƌ
ĐŽŶ ƚƌŽůůĞƌ
^ ƚŽƉ Đ ůĞĂ ƌ Žƌ ƵƉĚŽǁŶ
d/ϭ&W ϭ
d/Ϯ&W Ϯ
/d Z Ϭ
/d Z ϭ
/d Z Ϯ
/d Z ϯ
dZ' /
ŶĐŽĚĞ ƌ
/ŶƚĞƌĨĂ Đ Ğ
ĂƉƚƵƌĞĐŽŵƉĂƌĞ ϯ ƌĞŐŝƐƚĞƌ
h
ϯ/
ŽƵƚƉƵƚ
ĐŽŶ ƚƌŽů
Kϭ
dZ'K
K ϭZ &
KϮZ &
Kϯ Z &
h
h/
ĂƉ ƚƵƌĞĐŽŵ ƉĂƌĞ ϰ ƌĞŐ ŝƐƚĞƌ
h
ϰ /
KϰZ &
W ƌĞƐĐĂ ůĞƌ
WƌĞƐĐĂ ůĞƌ
/ ϰW ^
/ ϯW ^
/ ϭ
/ Ϯ
W ƌĞƐĐĂ ůĞƌ
W ƌĞƐĐĂ ůĞƌ
/ŶƉƵ ƚ ĨŝůƚĞƌ Θ
ĞĚŐĞ ĚĞƚĞĐƚŽƌ
/ ϮW ^
/ ϭW ^
d/ϭ&Wϭ
KϮ
Kϯ
Kϰ
Ő
ĞǀĞŶƚ
EŽƚĞƐ
W ƌĞ ůŽ Ă ĚƌĞŐŝƐ ƚĞƌƐ ƚƌĂ ŶƐ ĨĞƌƌĞ Ě
ƚŽ Ă Đ ƚŝǀĞ ƌĞŐŝƐ ƚĞƌƐ ŽŶ h Ğǀ ĞŶƚ
ĂĐĐŽƌĚŝŶŐ ƚŽ ĐŽŶƚƌŽů ďŝƚ
ŝŶƚĞƌƌƵƉƚΘ D Ž ƵƚƉƵƚ
d'/
dZ
dZ
/ ϯ
/ ϰ
/d Z
dZ
d/ϭ&ͺ
/ŶƉƵ ƚ ĨŝůƚĞƌ Θ
ĞĚŐĞ ĚĞƚĞĐƚŽƌ
/ŶƉƵ ƚ ĨŝůƚĞƌ Θ
ĞĚŐĞ ĚĞƚĞĐƚŽƌ
/ŶƉƵ ƚ ĨŝůƚĞƌ Θ
ĞĚŐĞ ĚĞƚĞĐƚŽƌ
ϭ /
Ϯ/
ϯ/
ϰ/
d/ϭ&WϮ
d/Ϯ&Wϭ
d/Ϯ&WϮ
d/ϯ&Wϯ
dZ
dZ
d/ϯ&Wϰ
d/ϰ&Wϯ
d/ϰ&Wϰ
d/ϰ
d/ϯ
d/ϭ
d/Ϯ
yKZ
d/Ddžͺ,ϭ
d /Ddžͺ ,
d /Ddžͺ ,
d /Ddžͺ ,
d /Ddžͺ ,
ƚŽ ŽƚŚĞƌ ƚŝŵĞƌƐ
W ƌĞƐĐĂůĞ ƌ Đ ŽƵŶƚĞ ƌ
нͲ
<ͺW^
W^
E d
<ͺEd
ĐŽŶ ƚƌŽůůĞƌ
ŵŽĚĞ
ĂǀĞ
dZ &
ƚŽ 
ŽƵƚƉƵƚ
ĐŽŶ ƚƌŽů
ŽƵƚƉƵƚ
ĐŽŶ ƚƌŽů
ŽƵƚƉƵƚ
ĐŽŶ ƚƌŽů
06Y9
d/Ddžͺ,Ϯ
d/Ddžͺ,ϯ
d/Ddžͺ,ϰ
d/Ddžͺ><ĨƌŽŵZ
/ŶƚĞƌŶĂůůŽĐŬ;<ͺ/EdͿ
5HDGHQDEOHXS
FRXQW

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F410 and is the answer not in the manual?

ST STM32F410 Specifications

General IconGeneral
BrandST
ModelSTM32F410
CategoryMicrocontrollers
LanguageEnglish

Related product manuals