
Rev. 1.00
223 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
13 General-Purpose T
imer (GPTM)
Bits
Field
Descriptions
[3:0]
TI2F
Channel 2 Input Source TI2 Filter Setting
These bits define the frequency divided ratio used to sample the TI2 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 3 Input Configuration Register – CH3ICFR
This register specifies the channel 3 input mode configuration.
Offset:
0x02C
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
Reserved
Type/Reset
23
22
21
20
19
18
17
16
Reserved
CH3PSC
CH3CCS
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
TI3F
Type/Reset
RW 0 RW 0 RW 0 RW 0
Bits
Field
Descriptions
[19:18]
CH3PSC
Channel 3 Capture Input Source Prescaler Setting
These bits define the effective events of the channel 3 capture input. Note that the
prescaler is reset once the Channel 3 Capture / Compare Enable bit, CH3E, in the
Channel Control register named CHCTR is cleared to 0.
00: No prescaler, channel 3 capture input signal is chosen for each active event
01: Channel 3 Capture input signal is chosen for every 2 events
10: Channel 3 Capture input signal is chosen for every 4 events
11: Channel 3 Capture input signal is chosen for every 8 events