ST STM32G4 Series Reference Manual page 23

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

RM0440
26.7.1
26.7.2
26.7.3
26.7.4
27
High-resolution timer (HRTIM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 844
27.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 844
27.2
Main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 845
27.3
Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 846
27.3.1
27.3.2
27.3.3
27.3.4
27.3.5
27.3.6
27.3.7
27.3.8
27.3.9
27.3.10 Delayed protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 899
27.3.11 Register preload and update management . . . . . . . . . . . . . . . . . . . . . 905
27.3.12 PWM mode with "greater than" comparison . . . . . . . . . . . . . . . . . . . . 909
27.3.13 Events propagation within or across multiple timers . . . . . . . . . . . . . . 910
27.3.14 Output management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 915
27.3.15 Burst mode controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 917
27.3.16 Chopper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 925
27.3.17 Fault protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 926
27.3.18 Auxiliary outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 931
27.3.19 Synchronizing the HRTIM with other timers or HRTIM instances . . . . 934
27.3.20 ADC triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 937
27.3.21 DAC triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 941
27.3.22 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 945
27.3.23 DMA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 947
27.3.24 HRTIM initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 951
27.3.25 Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 952
27.4
Application use cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 953
27.4.1
27.4.2
RNG control register (RNG_CR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 840
RNG status register (RNG_SR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 841
RNG data register (RNG_DR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 842
RNG register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 843
General description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 846
HRTIM pins and internal signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 848
Clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 851
Timer A..F timing units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 855
Master timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 876
Up-down counting mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 878
Set / reset events priorities and narrow pulses management . . . . . . . 885
External events global conditioning . . . . . . . . . . . . . . . . . . . . . . . . . . . 888
External event filtering in timing units . . . . . . . . . . . . . . . . . . . . . . . . . 893
Buck converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 953
Buck converter with synchronous rectification . . . . . . . . . . . . . . . . . . . 954
RM0440 Rev 4
Contents
23/2126
48

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents

Save PDF