
Rev. 1.00
224 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)
Bits
Field
Descriptions
[17:16]
CH3CCS
Channel 3 Capture / Compare Selection
00: Channel 3 is configured as an output
01: Channel 3 is configured as an input derived from the TI3 signal
10: Channel 3 is configured as an input derived from the TI2 signal
11: Channel 3 is configured as an input which comes from the TRCED signal
derived from the Trigger Controller
Note: The CH3CCS field can be accessed only when the CH3E bit is cleared to 0
[3:0]
TI3F
Channel 3 Input Source TI3 Filter Setting
These bits define the frequency divided ratio used to sample the TI3 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 0 Output Configuration Register – CH0OCFR
This register specifies the channel 0 output mode configuration.
Offset:
0x040
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
Reserved
Type/Reset
23
22
21
20
19
18
17
16
Reserved
Type/Reset
15
14
13
12
11
10
9
8
Reserved
CH0OM[3]
Type/Reset
RW 0
7
6
5
4
3
2
1
0
Reserved CH0IMAE CH0PRE Reserved
CH0OM[2:0]
Type/Reset
RW 0 RW 0
RW 0 RW 0 RW 0