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 879/2126
RM0440 High-resolution timer (HRTIM)
1083
The Figure 206 below shows how to generate some more complex waveforms, using the 4
available compare units and the toggle mode.
Figure 206. Complex symmetric waveform in up-down counting mode
The Figure 207 shows how to generate an asymmetric waveform. In this case, it must be
noticed that it is necessary to have compare 2 value greater than compare 1 value for the
waveform to be asymmetric.
Figure 207. Asymmetric waveform in up-down counting mode
Note: For asymmetric operation, it is required that CMP2 > CMP1.
MSv45798V2
Counter
HRTIM_CHx1
Set on CMP1
Set on CMP1
Toggle on CMP4
HRTIM_CHx2
CMP1
CMP2
CMP3
CMP4
Set on CMP2
Reset on CMP3
Reset on CMP4
Toggle on CMP2
Toggle on CMP3
MSv47417V2
Counter
HRTIM_CHx2
Set on CMP1
CMP1
CMP2
Set on CMP2

Table of Contents

Related product manuals