Low-power timer (LPTIM)
Figure 263. 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 264. 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.
Continous 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.
952/1454
2
Compare
0
PWM
and Set-once mode activated (WAVE bit is set)
LPTIM_ARR
Compare
0
PWM
External trigger event
Figure
265.
1
0
RM0453 Rev 2
2
2
Figure
264.
Discarded trigger
RM0453
MSv47414V1
MSv39231V2
Need help?
Do you have a question about the STM32WL55JC and is the answer not in the manual?