RM0432
Figure 446. 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 bit-field 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 447. 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.
Low-power timer (LPTIM) applied to STM32L4P5xx and STM32L4Q5xx only
2
Compare
0
PWM
and Set-once mode activated (WAVE bit is set)
LPTIM_ARR
Compare
0
PWM
External trigger event
Figure
448.
1
0
RM0432 Rev 6
2
2
Figure
447.
Discarded trigger
MSv47414V1
MSv39231V2
1509/2301
1529
Need help?
Do you have a question about the STM32L4+ Series and is the answer not in the manual?