STM32 timer overview application note (PDF!) from ST:
The STM32 devices are built-in with various types of timers, with the following features for
- General-purpose timers are used in any application for output compare (timing and delay generation), one-pulse mode, input capture (for external signal frequency measurement), sensor interface (encoder, hall sensor)…
- Advanced timers: these timers have the most features. In addition to general purpose
functions, they include several features related to motor control and digital power
conversion applications: three complementary signals with deadtime insertion,
emergency shut-down input.
- One or two channel timers: used as general-purpose timers with a limited number of
- One or two channel timers with complementary output: same as previous type, but
having a deadtime generator on one channel. This allows having complementary
signals with a time base independent from the advanced timers.
- Basic timers have no input/outputs and are used either as timebase timers or for
triggering the DAC peripheral.
- Low-power timers are simpler than general purpose timers and their advantage is the ability to continue working in low-power modes and generate a wake-up event.
- High-resolution timers are specialized timer peripherals designed to drive power conversion in lighting and power source applications. It is however also usable in other fields that require very fine timing resolution. AN4885 and AN4449 are practical examples of high-resolution timer use.