RM0033
15
General-purpose timers (TIM9 to TIM14)
This section applies to the whole STM32F20x and STM32F21x family, unless otherwise
specified.
15.1
TIM9 to TIM14 introduction
The TIM9 to TIM14 general-purpose timers consist of a 16-bit auto-reload counter driven by
a programmable prescaler.
They may be used for a variety of purposes, including measuring the pulse lengths of input
signals (input capture) or generating output waveforms (output compare, PWM).
Pulse lengths and waveform periods can be modulated from a few microseconds to several
milliseconds using the timer prescaler and the RCC clock controller prescalers.
The TIM9 to TIM14 timers are completely independent, and do not share any resources.
They can be synchronized together as described in
15.2
TIM9 to TIM14 main features
15.2.1
TIM9/TIM12 main features
The features of the TIM9 to TIM14 general-purpose timers include:
•
16-bit auto-reload upcounter
•
16-bit programmable prescaler used to divide the counter clock frequency by any factor
between 1 and 65536 (can be changed "on the fly")
•
Up to 2 independent channels for:
–
–
–
–
•
Synchronization circuit to control the timer with external signals and to interconnect
several timers together
•
Interrupt generation on the following events:
–
–
–
–
Input capture
Output compare
PWM generation (edge-aligned mode)
One-pulse mode output
Update: counter overflow, counter initialization (by software or internal trigger)
Trigger event (counter start, stop, initialization or count by internal trigger)
Input capture
Output compare
General-purpose timers (TIM9 to TIM14)
Section
RM0033 Rev 9
15.3.12.
437/1381
483
Need help?
Do you have a question about the STM32F207 Series and is the answer not in the manual?
Questions and answers