EasyManuals Logo

ST STM8S Reference Manual

ST STM8S
449 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 #132 background imageLoading...
Page #132 background image
Timer overview RM0016
132/449 Doc ID 14587 Rev 8
16 Timer overview
The devices in the STM8S and STM8A family may be equipped with up to three different
timer types: Advanced control (TIM1), general purpose (TIM2/TIM3/TIM5), and basic timers
(TIM4/TIM6). The timers share the same architecture, but some have additional unique
features. The common timer architecture, which includes identical register mapping and
common basic features, simplifies their use and makes it easier to design applications.
Table 3 3 shows the main timer characteristics.
In STM8S and STM8A devices with TIM1, TIM5 and TIM6, the timers do not share any
resources but they can be linked together and synchronized as described in
Synchronization between TIM1, TIM5 and TIM6 timers on page 157. In STM8S and STM8A
devices with TIM1, TIM2, TIM3 and TIM4, the timers are not linked together.
This section gives a comparison of the different timer features (Ta bl e 34), a glossary of
internal timer signal names (Tab le 3 5 ).
Section 17: 16-bit advanced control timer (TIM1) contains a full description of all the various
timer modes. The other timer sections (Section 18 and Section 19) are more brief and give
only specific details on each timer, its block diagram, and register description.
Table 33. Timer characteristics
Symbol Parameter Min Typ Max Unit
t
w(ICAP)in
Input capture pulse time 2 t
MASTER
t
res(TIM)
Timer resolution time 1 t
MASTER
Res
TIM
Timer resolution with 16-bit counter 16 bit
Timer resolution with 8-bit counter 8 bit
t
COUNTER
Counter clock period when internal clock is
selected
1t
MASTER
t
MAX_COUNT
Maximum possible count
with 16-bit counter 65,536 t
MASTER
Maximum possible count
with 8-bit counter 256 t
MASTER

Table of Contents

Other manuals for ST STM8S

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM8S Specifications

General IconGeneral
BrandST
ModelSTM8S
CategoryMicrocontrollers
LanguageEnglish

Related product manuals