Mikroelektronika MikroE Development Kits MIKROE-1104 Data Sheet

Product codes
MIKROE-1104
Page of 178
Functional overview
STM32F20xxx
DocID15818 Rev 11
3.20 
Timers and watchdogs
The STM32F20x devices include two advanced-control timers, eight general-purpose 
timers, two basic timers and two watchdog timers.
All timer counters can be frozen in debug mode.
 compares the features of the advanced-control, general-purpose and basic timers.
         
3.20.1 Advanced-control 
timers (TIM1, TIM8)
The advanced-control timers (TIM1, TIM8) can be seen as three-phase PWM generators 
multiplexed on 6 channels. They have complementary PWM outputs with programmable 
inserted dead times. They can also be considered as complete general-purpose timers. 
Their 4 independent channels can be used for:
Input capture
Output compare
PWM generation (edge- or center-aligned modes)
One-pulse mode output
Table 5. Timer feature comparison
Timer type Timer
Counter 
resolution
Counter 
type
Prescaler 
factor
DMA 
request 
generation
Capture/
compare 
channels
Complementary 
output
Max 
interface 
clock
Max 
timer 
clock
Advanced-
control
TIM1, 
TIM8
16-bit
Up, 
Down, 
Up/down
Any integer 
between 1 
and 65536
Yes
4
Yes
60 MHz
120 
MHz
General 
purpose
TIM2, 
TIM5
32-bit
Up, 
Down, 
Up/down
Any integer 
between 1 
and 65536
Yes
4
No
30 MHz
60 
MHz
TIM3, 
TIM4
16-bit
Up, 
Down, 
Up/down
Any integer 
between 1 
and 65536
Yes
4
No
30 MHz
60 
MHz
Basic
TIM6, 
TIM7
16-bit
Up
Any integer 
between 1 
and 65536
Yes
0
No
30 MHz
60 
MHz
General 
purpose
TIM9
16-bit
Up
Any integer 
between 1 
and 65536
No
2
No
60 MHz
120 
MHz
TIM10, 
TIM11
16-bit
Up
Any integer 
between 1 
and 65536
No
1
No
60 MHz
120 
MHz
TIM12
16-bit
Up
Any integer 
between 1 
and 65536
No
2
No
30 MHz
60 
MHz
TIM13, 
TIM14
16-bit
Up
Any integer 
between 1 
and 65536
No
1
No
30 MHz
60 
MHz