RM0461
Figure 250. LPTIM output waveform, single counting mode configuration
when repetition register content is different than zero (with PRELOAD = 1)
LPTIM_RCR
Repetition counter
LPTIM_ARR
External trigger event
Ignored external trigger event
- Set-once mode activated:
It should be noted that when the WAVE bitfield in the LPTIM_CFGR register is set, the Set-
once mode is activated. In this case, the counter is only started once following the first
trigger, and any subsequent trigger event is discarded as shown in
Figure 251. LPTIM output waveform, Single counting mode configuration
In case of software start (TRIGEN[1:0] = '00'), the SNGSTRT setting starts the counter for
one-shot counting.
Continuous mode
To enable the continuous counting, the CNTSTRT bit must be set.
In case an external trigger is selected, an external trigger event arriving after CNTSTRT is
set, starts the counter for continuous counting. Any subsequent external trigger event is
discarded as shown in
In case of software start (TRIGEN[1:0] = '00'), setting CNTSTRT starts the counter for
continuous counting.
2
Compare
0
PWM
and Set-once mode activated (WAVE bit is set)
LPTIM_ARR
Compare
0
PWM
External trigger event
Figure
252.
1
0
RM0461 Rev 5
Low-power timer (LPTIM)
2
2
Figure
251.
Discarded trigger
MSv47414V1
MSv39231V2
849/1306
870
Need help?
Do you have a question about the STM32WLEx and is the answer not in the manual?