General-purpose timers (TIM2 to TIM5)
15.2
TIMx main features
General-purpose TIMx timer features include:
•
16-bit up, down, up/down auto-reload counter.
•
16-bit programmable prescaler used to divide (also "on the fly") the counter clock
frequency by any factor between 1 and 65536.
•
Up to 4 independent channels for:
–
–
–
–
•
Synchronization circuit to control the timer with external signals and to interconnect
several timers.
•
Interrupt/DMA generation on the following events:
–
–
–
–
•
Supports incremental (quadrature) encoder and hall-sensor circuitry for positioning
purposes
•
Trigger input for external clock or cycle-by-cycle current management
361/1128
Input capture
Output compare
PWM generation (Edge- and Center-aligned modes)
One-pulse mode output
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
DocID13902 Rev 15
RM0008
Need help?
Do you have a question about the STM32F101 series and is the answer not in the manual?
Questions and answers