
Rev. 1.00
241 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
14 General-Purpose T
imer (GPTM)
14 General-Purpose T
imer (GPTM)
Update Management
The Update event is used to update the CRR, the PSCR, the CHxACR and the CHxCCR values
from the actual registers to the corresponding shadow registers. An update event occurs when the
counter overflows or underflows, 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
UEVDIS
UEV (Update PSCR, CRR,
CHxCCR, CHxACR
Shadow Registers)
Slave Restart mode
UGDIS
Counter Overflow / Underflow
UEVDIS
UEV interrupt
UEVG
Slave Restart mode
Update Event Management
Update Event Interrupt Management
UEVG
Counter Overflow / Underflow
Figure 65. Update Event Setting Diagram