定时器 TIM
计数器外设
Timers overview
Timer
Width
&
Direction
CAPCOM
+
COMPL.
Prescaler
&
Max clock
DMA
features
Synch.
Module
External
trigger
Break
Repetition
counter
TIM1
16bit
UP/DOWN
4 + 3
Linear
16-bit
48 MHz
All Yes Yes Yes Yes
TIM2
32bit
UP/DOWN
4 + 0 All Yes Yes No No
TIM3
16bit
UP/DOWN
4 + 0 All Yes Yes No No
TIM6
16bit
UP only
0
1 DMA
req.
Yes No No No
TIM14
16bit
UP only
1 + 0 No No
Yes
LSE
No No
TIM15
16bit
UP only
2 + 1 All Yes No Yes Yes
TIM16
16bit
UP only
1 + 1 All No No Yes Yes
TIM17
16bit
UP only
1 + 1 All No No Yes Yes
高级定时器 通用定时器
基本定时器