RM0016 16-bit advanced control timer (TIM1)
Doc ID 14587 Rev 8 137/449
17.2 TIM1 main features
TIM1 features include:
● 16-bit up, down, up/down counter auto-reload counter
● Repetition counter to update the timer registers only after a given number of cycles of
the counter.
● 16-bit programmable prescaler allowing the counter clock frequency to be divided “on
the fly” by any factor between 1 and 65536.
● Synchronization circuit to control the timer with external signals and to interconnect
several timers (timer interconnection not implemented in some devices).
● 4 independent channels that can alternately be configured as:
– Input capture
– Output compare
– PWM generation (edge and center-aligned mode)
– 6-step PWM generation
– One-pulse mode output
– Complementary outputs on three channels with programmable deadtime insertion.
● Break input to put the timer output signals in reset state or in a known state.
● External trigger input pin (ETR)
● Interrupt generation on the following events:
– Update: Counter overflow/underflow, counter initialization (by software or
internal/external trigger)
– Trigger event (counter start, stop, initialization or count by internal/external trigger)
– Input capture
– Output compare
– Break input