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 #915 background imageLoading...
Page #915 background image
RM0440 Rev 4 915/2126
RM0440 High-resolution timer (HRTIM)
1083
27.3.14 Output management
Each timing unit controls a pair of outputs. The outputs have three operating states:
RUN: this is the main operating mode, where the output can take the active or inactive
level as programmed in the crossbar unit.
IDLE: this state is the default operating state after an HRTIM reset, when the outputs
are disabled by software or during a burst mode operation (where outputs are
temporary disabled during a normal operating mode; refer to Section 27.3.15 for more
details). It is either permanently active or inactive.
FAULT: this is the safety state, entered in case of a shut-down request on FAULTx
inputs. It can be permanently active, inactive or Hi-Z.
The output status is indicated by TxyOEN bit in HRTIM_OENR register and TxyODS bit in
HRTIM_ODSR register, as in Table 231.
TxyOEN bit is both a control and a status bit: it must be set by software to have the output in
RUN mode. It is cleared by hardware when the output goes back in IDLE or FAULT mode.
When TxyOEN bit is cleared, TxyODS bit indicates whether the output is in the IDLE or
FAULT state. A third bit in the HRTIM_ODISR register allows to disable the output by
software.
Figure 234. Output management overview
Figure 235 summarizes the bit values for the three states and how the transitions are
triggered. Faults can be triggered by any external or internal fault source, as listed in
Table 231. Output state programming, x= A..F, y = 1 or 2
TxyOEN (control/status)
(set by software,
cleared by hardware)
TxyODS (status) Output operating state
1xRUN
00IDLE
01FAULT
MS32282V2
1x
00
POLx
Timing Unit
IDLE State
Active / Inactive
FAULT State
Active / Inactive / Hi-Z
IDLESx
FAULTx[1:0]
RUN
IDLE
FAULT
01
Status: OEN/ODS
IDLE entry: Software (ODIS bit set) or
Hardware: Burst / Delayed protection
FAULT entry: Hardware (FAULTx inputs)
or breakpoint
RUN entry: Software (OEN bit set)
HRTIM_CHxy
Chopper
CPHx

Table of Contents

Questions and Answers:

ST STM32G474 Specifications

General IconGeneral
BrandST
ModelSTM32G474
CategoryMicrocontrollers
LanguageEnglish

Related product manuals