
Rev. 1.00
243 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)
In the Single Pulse mode, the STI active edge which sets the TME bit to 1 will enable the counter.
However, there exist several clock delays to perform the comparison result between the counter
value and the CHxCCR value. In order to reduce the delay to a minimum value, the user can set
the CHxIMAE bit in each CHxOCFR register. After an STI rising edge trigger occurs in the single
pulse mode, the CHxOREF signal will immediately be forced to the state which the CHxOREF
signal will change to as the compare match event occurs without taking the comparison result into
account. The CHxIMAE bit is available only when the output channel is configured to operate in
the PWM mode 1 or PWM mode 2 and the trigger source is derived from the STI signal.
CHxIMAE
CHxOREF
GT_CNT
CHxCCR
CRR
Counter Value
Time
Up-Counting Mode
Delay
STI
TME
0
1
2
3
4
5
6
CKDIV = 0
Counter Start Time
(PWM1)
(PWM2)
ITIx
Figure 67. Immediate Active Mode Minimum Delay