
Rev. 1.00
219 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
13 General-Purpose T
imer (GPTM)
Channel 0 Input Configuration Register – CH0ICFR
This register specifies the channel 0 input mode configuration.
Offset:
0x020
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
TI0SRC
Reserved
Type/Reset RW 0
23
22
21
20
19
18
17
16
Reserved
CH0PSC
CH0CCS
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
TI0F
Type/Reset
RW 0 RW 0 RW 0 RW 0
Bits
Field
Descriptions
[31]
TI0SRC
Channel 0 Input Source TI0 Selection
0: The GT_CH0 pin is connected to channel 0 input TI0
1: The XOR operation output of the GT_CH0, GT_CH1 and GT_CH2 pins are
connected to the channel 0 input TI0
[19:18]
CH0PSC
Channel 0 Capture Input Source Prescaler Setting
These bits define the effective events of the channel 0 capture input. Note that the
prescaler is reset once the Channel 0 Capture / Compare Enable bit, CH0E, in the
Channel Control register named CHCTR is cleared to 0.
00: No prescaler, channel 0 capture input signal is chosen for each active event
01: Channel 0 Capture input signal is chosen for every 2 events
10: Channel 0 Capture input signal is chosen for every 4 events
11: Channel 0 Capture input signal is chosen for every 8 events
[17:16]
CH0CCS
Channel 0 Capture / Compare Selection
00: Channel 0 is configured as an output
01: Channel 0 is configured as an input derived from the TI0 signal
10: Channel 0 is configured as an input derived from the TI1 signal
11: Channel 0 is configured as an input which comes from the TRCED signal
derived from the Trigger Controller
Note: The CH0CCS field can be accessed only when the CH0E bit is cleared to 0.