English
Language : 

STM32F401XB Datasheet, PDF (26/135 Pages) STMicroelectronics – ARM Cortex-M4 32b MCU+FPU, 105 DMIPS, 256KB Flash/64KB RAM, 11 TIMs, 1 ADC, 11 comm. interfaces
STM32F401xB STM32F401xC
Functional overview
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.
Table 4. Timer feature comparison
Timer
type
Timer
Counter
resolution
Counter
type
Prescaler
factor
DMA
request
generation
Capture/
compare
channels
Complemen-
tary output
Max. Max.
interface timer
clock clock
(MHz) (MHz)
Any
Advanced
-control
TIM1
16-bit
Up,
integer
Down, between 1
Up/down and
Yes
4
65536
Any
TIM2,
TIM5
32-bit
Up,
integer
Down, between 1
Up/down and
Yes
4
65536
Any
TIM3,
TIM4
16-bit
Up,
integer
Down, between 1
Up/down and
Yes
4
General
65536
purpose
Any
integer
TIM9 16-bit
Up between 1
No
2
and
65536
Any
TIM10,
TIM11
16-bit
integer
Up between 1
No
and
1
65536
Yes
84
84
No
42
84
No
42
84
No
84
84
No
84
84
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
DocID024738 Rev 6
26/135
53