RM0402
18
General-purpose timers (TIM9 to TIM14)
18.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
18.2
TIM9 to TIM14 main features
18.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
RM0402 Rev 6
18.3.12.
545/1163
591
Need help?
Do you have a question about the STM32F412 and is the answer not in the manual?