
Rev. 1.00
198 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
13 General-Purpose T
imer (GPTM)
13 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 46. 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.
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 47. TI0 Digital Filter Diagram with N = 2