16-bit advanced control timer (TIM1) RM0016
136/449 Doc ID 14587 Rev 8
17 16-bit advanced control timer (TIM1)
This section gives a description of the full set of timer features.
17.1 Introduction
TIM1 consists of a 16-bit up-down auto-reload counter driven by a programmable prescaler.
The timer may be used for a variety of purposes, including:
● Time base generation
● Measuring the pulse lengths of input signals (input capture)
● Generating output waveforms (output compare, PWM and one-pulse mode)
● Interrupt capability on various events (capture, compare, overflow, break, trigger)
● Synchronization with TIM5/TIM6 timers or external signals (external clock, reset, trigger
and enable).
This timer is ideally suited for a wide range of control applications, including those requiring
center-aligned PWM capability with complementary outputs and deadtime insertion.
The timer clock can be sourced from internal clocks or from an external source selectable
through a configuration register.