Download Print this page

ST STM32F301 6 Series Reference Manual page 526

Advanced arm-based 32-bit mcus

Advertisement

General-purpose timers (TIM15/TIM16/TIM17)
TRGI
Counter
Output
19.4.17
UIF bit remapping
The IUFREMAP bit in the TIMx_CR1 register forces a continuous copy of the Update
Interrupt Flag UIF into bit 31 of the timer counter register (TIMxCNT[31]). This allows both
the counter value and a potential roll-over condition signaled by the UIFCPY flag, to be
atomically read. In particular cases, it can ease the calculations by avoiding race conditions
caused for instance by a processing shared between a background task (counter reading)
and an interrupt (Update Interrupt).
There is no latency between the assertions of the UIF and UIFCPY flags.
526/874
Figure 226. Retriggerable one pulse mode
RM0366 Rev 5
RM0366
MS33106V2

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32F301 6 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f301 8 seriesStm32f318 8 series