EasyManuals Logo
Home>ST>Microcontrollers>STM32G474

ST STM32G474 User Manual

ST STM32G474
2126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #866 background imageLoading...
Page #866 background image
High-resolution timer (HRTIM) RM0440
866/2126 RM0440 Rev 4
Figure 191. Timer A timing unit capture circuitry
Auto-delayed mode
This mode allows to have compare events generated relatively to capture events, so that for
instance an output change can happen with a programmed timing following a capture. In
this case, the compare match occurs independently from the timer counter value. It enables
the generation of waveforms with timings synchronized to external events without the need
of software computation and interrupt servicing.
As long as no capture is triggered, the content of the HRTIM_CMPxR register is ignored (no
compare event is generated when the counter value matches the compare value. Once the
capture is triggered, the compare value programmed in HRTIM_CMPxR is summed with the
captured counter value in HRTIM_CPTxyR, and it updates the internal auto-delayed
compare register, as seen on Figure 192. The auto-delayed compare register is internal to
the timing unit and cannot be read. The HRTIM_CMPxR preload register is not modified
after the calculation.
This feature is available only for compare 2 and compare 4 registers. compare 2 is
associated with capture 1, while compare 4 is associated with capture 2. HRTIM_CMP2xR
and HRTIM_CMP4xR compares cannot be programmed with a value below 3 f
HRTIM
clock
periods, as in the regular mode.
MS32265V1
Timer A counter
Prescaler
Capture 1 register
CPT1
(IRQ & DMA)
f
HRTIM
Capture
Capture 1
Trigger
selection
(OR)
Timer B
CMP1
CMP2
TB1 set
TB1 reset
Timer C
Timer D
Timer E
External events 1..10
Timer A Update
Software
4
4
4
10
Timer F
4

Table of Contents

Questions and Answers:

ST STM32G474 Specifications

General IconGeneral
BrandST
ModelSTM32G474
CategoryMicrocontrollers
LanguageEnglish

Related product manuals