EasyManua.ls Logo

ST STM32G474

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
Loading...
RM0440 Rev 4 867/2126
RM0440 High-resolution timer (HRTIM)
1083
Figure 192. Auto-delayed overview (compare 2 only)
The auto-delayed compare is only valid from the capture up to the period event: once the
counter has reached the period value, the system is re-armed with compare disabled until a
capture occurs.
DELCMP2[1:0] and DELCMP4[1:0] bits in HRTIM_TIMxCR register allow to configure the
auto-delayed mode as follows:
00
Regular compare mode: HRTIM_CMP2xR and HRTIM_CMP4xR register contents are
directly compared with the counter value.
01
Auto-delayed mode: compare 2 and compare 4 values are recomputed and used for
comparison with the counter after a capture 1/2 event.
10 or 11
Auto-delayed mode with timeout: compare 2 and compare 4 values are recomputed
and used for comparison with the counter after a capture 1/2 event or after a compare 1
MS32266V1
Capture 1
Counter
Compare 2
Compare 1
Compare 3
Add
Autodelayed
Compare 2
DELCMP2[1..0]
00
!00
DELCMP2[1..0]
10
11
Timeout feature if DELCMP2[1..0] = 1x
Trigger: CPT1,
CMP1 or CMP3

Table of Contents

Related product manuals