This document introduces the timer peripherals in the STM32F1xx, STM32F2xx, STM32F4xx and STM32L1xx microcontroller families, including the various modes and specific features of the timers, such as clock sources, how to use the available modes and features, how to compute the time base in each configuration, timer synchronization sequences and the advanced features for motor control applications.
This document presents an overview of the timer peripherals available in the STM32F1xx, STM32F2xx, STM32F4xx, and STM32L1xx microcontroller families. It describes various modes and specific features, including clock sources, input capture, output compare, PWM, and one-pulse modes. The text also explains how to compute time bases in different configurations and details timer synchronization sequences.
The document states that the maximum external clock frequency should be verified.
It generates an update event from a nanosecond to a few minutes depending on the clock, prescaler and autoreload parameters.
The calculation uses the external clock frequency connected to the ETR pin divided by specific register values.