General-purpose timers (TIM9 and TIM11)
16
General-purpose timers (TIM9 and TIM11)
16.1
TIM9 and TIM11 introduction
The TIM9 and TIM11 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.
16.2
TIM9 and TIM11 main features
16.2.1
TIM9 main features
The features of the TIM9 general-purpose timer 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:
–
–
–
–
390/771
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
RM0401 Rev 3
RM0401
Need help?
Do you have a question about the STM32F410 and is the answer not in the manual?
Questions and answers