
Rev. 1.00
377 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
16 Single-Channel T
imer (SCTM)
16 Single-Channel T
imer (SCTM)
Counter Value
CRR
CHCCR
CHOREF
CHOM = 0x6
CHCCIF
CHOREF
Counter Value
100%
0%
CHOM = 0x7
CHCCR
CRR
CHOREF
CHCCIF
CHCCIF
CHOREF
CHCCR = 0x0000
CRR
Counter Value
Figure 131. PWM Mode Channel Output Reference Signal
Update Management
The Update event is used to update the CRR, the PSCR and the CHCCR values from the actual
registers to the corresponding shadow registers. An update event will occur when the counter
overflows, the software update control bit is triggered or an update event from the slave controller
is generated.
The UEVDIS bit in the CNTCFR register can determine whether the update event occurs or
not. When the update event occurs, the corresponding update event interrupt will be generated
depending upon whether the update event interrupt generation function is enabled or not by
configuring the UGDIS bit in the CNTCFR register. For more detailed description, refer to the
UEVDIS and UGDIS bit definition in the CNTCFR register.