
Rev. 1.00
256 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
14 General-Purpose T
imer (GPTM)
Bits
Field
Descriptions
[3:0]
TI0F
Channel 0 Input Source TI0 Filter Setting
These bits define the frequency divided ratio used to sample the TI0 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
Channel 1 Input Configuration Register – CH1ICFR
This register specifies the channel 1 input mode configuration.
Offset:
0x024
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
Reserved
Type/Reset
23
22
21
20
19
18
17
16
Reserved
CH1PSC
CH1CCS
Type/Reset
RW 0 RW 0 RW 0 RW 0
15
14
13
12
11
10
9
8
Reserved
Type/Reset
7
6
5
4
3
2
1
0
Reserved
TI1F
Type/Reset
RW 0 RW 0 RW 0 RW 0
Bits
Field
Descriptions
[19:18]
CH1PSC
Channel 1 Capture Input Source Prescaler Setting
These bits define the effective events of the channel 1 capture input. Note that the
prescaler is reset once the Channel 1 Capture/Compare Enable bit, CH1E, in the
Channel Control register named CHCTR is cleared to 0.
00: No prescaler, channel 1 capture input signal is chosen for each active event
01: Channel 1 Capture input signal is chosen for every 2 events
10: Channel 1 Capture input signal is chosen for every 4 events
11: Channel 1 Capture input signal is chosen for every 8 events