Download Print this page

And Set-Once Mode Activated (Wave Bit Is Set) - ST STM32F413 Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F413:

Advertisement

RM0430
Low-power timer (LPTIM)
Figure 217. LPTIM output waveform, Single counting mode configuration

and Set-once mode activated (WAVE bit is set)

In case of software start (TRIGEN[1:0] = '00'), the SNGSTRT setting will start the counter for
one shot counting.
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 will start the counter for continuous counting. Any subsequent external trigger event will
be discarded as shown in
Figure
218.
In case of software start (TRIGEN[1:0] = '00'), setting CNTSTRT will start the counter for
continuous counting.
Figure 218. LPTIM output waveform, Continuous counting mode configuration
SNGSTRT and CNTSTRT bits can only be set when the timer is enabled (The ENABLE bit
is set to '1'). It is possible to change "on the fly" from One Shot mode to Continuous mode.
If the Continuous mode was previously selected, setting SNGSTRT will switch the LPTIM to
the One Shot mode. The counter (if active) will stop as soon as it reaches ARR.
If the One Shot mode was previously selected, setting CNTSTRT will switch the LPTIM to
the Continuous mode. The counter (if active) will restart as soon as it reaches ARR.
DocID029473 Rev 3
649/1284
666

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32F413 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f423