
Rev. 1.00
257 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)
Bits
Field
Descriptions
[17:16]
CH1CCS
Channel 1 Capture/Compare Selection
00: Channel 1 is configured as an output
01: Channel 1 is configured as an input derived from the TI1 signal
10: Channel 1 is configured as an input derived from the TI0 signal
11: Channel 1 is configured as an input which comes from the TRCED signal
derived from the Trigger Controller
Note: The CH1CCS field can be accessed only when the CH1E bit is cleared to 0.
[3:0]
TI1F
Channel 1 Input Source TI1 Filter Setting
These bits define the frequency divided ratio used to sample the TI1 signal. The
Digital filter in the GPTM is an N-event counter where N is defined as how many
valid transitions are necessary to output a filtered signal.
0000: No filter, the sampling clock is f
SYSTEM
0001: f
sampling
= f
CLKIN
, N = 2
0010: f
sampling
= f
CLKIN
, N = 4
0011: f
sampling
= f
CLKIN
, N = 8
0100: f
sampling
= f
DTS
/ 2, N = 6
0101: f
sampling
= f
DTS
/ 2, N = 8
0110: f
sampling
= f
DTS
/ 4, N = 6
0111: f
sampling
= f
DTS
/ 4, N = 8
1000: f
sampling
= f
DTS
/ 8, N = 6
1001: f
sampling
= f
DTS
/ 8, N = 8
1010: f
sampling
= f
DTS
/ 16, N = 5
1011: f
sampling
= f
DTS
/ 16, N = 6
1100: f
sampling
= f
DTS
/ 16, N = 8
1101: f
sampling
= f
DTS
/ 32, N = 5
1110: f
sampling
= f
DTS
/ 32, N = 6
1111: f
sampling
= f
DTS
/ 32, N = 8