RM0091 General-purpose timer (TIM14)
Doc ID 018940 Rev 1 353/742
17 General-purpose timer (TIM14)
17.1 TIM14 introduction
The TIM14 general-purpose timer consists of a 16-bit auto-reload counter driven by a
programmable prescaler.
It 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 TIM14 timer is completely independent, and does not share any resources. It can be
synchronized together as described in Section 16.3.15.
17.2 TIM14 main features
● 16-bit auto-reload upcounter
● 16-bit programmable prescaler used to divide the counter clock frequency by any factor
between 1 and 65535 (can be changed “on the fly”)
● independent channel for:
– Input capture
– Output compare
– PWM generation (edge-aligned mode)
● Interrupt generation on the following events:
– Update: counter overflow, counter initialization (by software)
– Input capture
– Output compare