Datasheet

Table Of Contents
DS13105 Rev 4 41/135
STM32WLE5J8/JB/JC Functional overview
46
The four independent channels can be used for:
input capture
output compare
PWM generation (edge or center-aligned modes) with full modulation capability
(0 - 100 %)
one-pulse mode output
In debug mode, the TIM1 counter can be frozen and the PWM outputs disabled to turn off
any power switches driven by these outputs.
Many features are shared with those of the general-purpose timers (described in the next
section) using the same architecture. TIM1 can then work together with TIM2 via the
peripheral interconnect matrix, for synchronization or event chaining.
3.23.2 General-purpose timers (TIM2, TIM16, TIM17)
Each general-purpose timer can be used to generate PWM outputs, or act as a simple time
base.
TIM2 main features:
full-featured general-purpose timer
four independent channels for input capture/output compare, PWM or one-pulse mode
output
counter that can be frozen in debug mode
independent DMA request generation, support of quadrature encoders
TIM16 and TIM17 main features:
general-purpose timers with mid-range features
16-bit auto-reload upcounters and 16-bit prescalers
1 channel and 1 complementary channel
channels that can all be used for input capture/output compare, PWM or one-pulse
mode output
counter that can be frozen in debug mode
independent DMA request generation
3.23.3 Low-power timers (LPTIM1, LPTIM2 and LPTIM3)
These low-power timers have an independent clock and run in Stop mode if they are
clocked by LSE, LSI, or by an external clock. They are able to wake up the system from
Stop mode.
LPTIM1 is active in Stop 0, Stop 1 and Stop 2 modes.
LPTIM2 and LPTIM3 are active in Stop 0 and Stop 1 modes.