
Rev. 1.00
235 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)
Filter
TI2FP
TI2FN
TI2F
GT_CH2
CH2P
Filter
TI3FP
TI3FN
TI3F
CH3P
GT_CH3
TI2S2
TI3S2
TI2S3
TI3S3
TRCED
CH2PRESCALER
CH3PRESCALER
TI2S2ED
CH2PSC
CH3PSC
CH2CCS
CH3CCS
CH2PSC
CH3PSC
CH2CAP Event
CH3CAP Event
Edge
Detection
Edge
Detection
Edge
Detection
Edge
Detection
TI3S2ED
TI2S3ED
TI3S3ED
f
CLKIN
f
sampling
f
sampling
TI2
TI3
Figure 55. Channel 2 and Channel 3 Input Stages
Digital Filter
The digital filters are embedded in the input stage for the GT_CH0 ~ GT_CH3 pins respectively.
The digital filter in the GPTM is an N-event counter where N refers to how many valid transitions
are necessary to output a filtered signal. The N value can be 0, 2, 4, 5, 6 or 8 according to the user
selection for each filter by setting the TIxF field in the CHxICFR register.
Digital Filter (N=2)
No Filtered
J
Q
CK
K
Filtered
TI0
f
SYSTEM
D
Q
CK
D
Q
CK
D
Q
CK
f
sampling
Figure 56. TI0 Digital Filter Diagram with N = 2