微可Vicor——值得信赖的元器件供应商
Functional overview
3.14
Timers and watchdogs
The ultra-low-power STM32L100RC device includes seven general-purpose timers, two
basic timers, and two watchdog timers.
Table 5
compares the features of the general-purpose and basic timers.
Counter
Timer
Counter type
resolution
TIM2,
TIM3,
16-bit
TIM4
TIM9
16-bit
TIM10,
16-bit
TIM11
TIM6,
16-bit
TIM7
3.14.1
General-purpose timers (TIM2, TIM3, TIM4, TIM9, TIM10 and
TIM11)
There are seven synchronizable general-purpose timers embedded in the STM32L100RC
device (see
TIM2, TIM3, TIM4
TIM2, TIM3, TIM4 are based on 16-bit auto-reload up/down counter. They include a 16-bit
prescaler. They feature four independent channels each for input capture/output compare,
PWM or one-pulse mode output. This gives up to 16 input captures/output compares/PWMs
on the largest packages.
TIM2, TIM3, TIM4 general-purpose timers can work together or with the TIM10, TIM11 and
TIM9 general-purpose timers via the Timer Link feature for synchronization or event
chaining. Their counter can be frozen in debug mode. Any of the general-purpose timers
can be used to generate PWM outputs.
TIM2, TIM3, TIM4 all have independent DMA request generation.
These timers are capable of handling quadrature (incremental) encoder signals and the
digital outputs from 1 to 3 hall-effect sensors.
TIM10, TIM11 and TIM9
TIM10 and TIM11 are based on a 16-bit auto-reload upcounter. TIM9 is based on a 16-bit
auto-reload up/down counter. They include a 16-bit prescaler. TIM10 and TIM11 feature one
independent channel, whereas TIM9 has two independent channels for input capture/output
compare, PWM or one-pulse mode output. They can be synchronized with the TIM2, TIM3,
TIM4 full-featured general-purpose timers.
26/104
微可Vicor——值得信赖的元器件供应商
Table 5. Timer feature comparison
Prescaler factor
Up, down,
Any integer between
up/down
1 and 65536
Up, down,
Any integer between
up/down
1 and 65536
Any integer between
Up
1 and 65536
Any integer between
Up
1 and 65536
Table 5
for differences).
DocID024995 Rev 4
http://www.vicor.top/
DMA
Capture/compare
request
generation
Yes
No
No
Yes
http://www.vicor.top/
021-31660491
STM32L100RC
Complementary
channels
outputs
4
No
2
No
1
No
0
No
021-31660491
Need help?
Do you have a question about the STM32L100RC and is the answer not in the manual?