Datasheet
DocID025644 Rev 3 27/135
STM32F401xD STM32F401xE Functional overview
54
3.19 Timers and watchdogs
The devices embed one advanced-control timer, seven general-purpose timers and two
watchdog timers.
All timer counters can be frozen in debug mode.
Table 4 compares the features of the advanced-control and general-purpose timers.
3.19.1 Advanced-control timers (TIM1)
The advanced-control timer (TIM1) can be seen as three-phase PWM generators
multiplexed on 4 independent channels. It has complementary PWM outputs with
programmable inserted dead times. It can also be considered as a complete general-
purpose timer. Its 4 independent channels can be used for:
• Input capture
• Output compare
• PWM generation (edge- or center-aligned modes)
• One-pulse mode output
Table 4. Timer feature comparison
Timer
type
Timer
Counter
resolution
Counter
type
Prescaler
factor
DMA
request
generation
Capture/
compare
channels
Complementary
output
Max.
interface
clock
(MHz)
Max.
timer
clock
(MHz)
Advanced-
control
TIM1 16-bit
Up,
Down,
Up/down
Any
integer
between 1
and
65536
Yes 4 Yes 84 84
General
purpose
TIM2,
TIM5
32-bit
Up,
Down,
Up/down
Any
integer
between 1
and
65536
Yes 4 No 42 84
TIM3,
TIM4
16-bit
Up,
Down,
Up/down
Any
integer
between 1
and
65536
Yes 4 No 42 84
TIM9 16-bit Up
Any
integer
between 1
and
65536
No 2 No 84 84
TIM1
0,
TIM11
16-bit Up
Any
integer
between 1
and
65536
No 1 No 84 84
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.