
Rev. 1.00
269 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)
Channel Control Register – CHCTR
This register contains the channel capture input or compare output function enable control bits.
Offset:
0x050
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
Type/Reset
7
6
5
4
3
2
1
0
Reserved
CH3E
Reserved
CH2E
Reserved
CH1E
Reserved
CH0E
Type/Reset
RW 0
RW 0
RW 0
RW 0
Bits
Field
Descriptions
[6]
CH3E
Channel 3 Capture/Compare Enable
- Channel 3 is configured as an input (CH3CCS = 0x1/0x2/0x3)
0: Input Capture Mode is disabled
1: Input Capture Mode is enabled
- Channel 3 is configured as an output (CH3CCS = 0x0)
0: Off – Channel 3 output signal CH3O is not active
1: On – Channel 3 output signal CH3O is generated on the corresponding output pin
[4]
CH2E
Channel 2 Capture/Compare Enable
- Channel 2 is configured as an input (CH2CCS = 0x1/0x2/0x3)
0: Input Capture Mode is disabled
1: Input Capture Mode is enabled
- Channel 2 is configured as an output (CH2CCS = 0x0)
0: Off – Channel 2 output signal CH2O is not active
1: On – Channel 2 output signal CH2O is generated on the corresponding output pin
[2]
CH1E
Channel 1 Capture/Compare Enable
- Channel 1 is configured as an input (CH1CCS = 0x1/0x2/0x3)
0: Input Capture Mode is disabled
1: Input Capture Mode is enabled
- Channel 1 is configured as an output (CH1CCS = 0x0)
0: Off – Channel 1 output signal CH1O is not active
1: On – Channel 1 output signal CH1O is generated on the corresponding output pin
[0]
CH0E
Channel 0 Capture/Compare Enable
- Channel 0 is configured as an input (CH0CCS = 0x1/0x2/0x3)
0: Input Capture Mode is disabled
1: Input Capture Mode is enabled
- Channel 0 is configured as an output (CH0CCS = 0x0)
0: Off – Channel 0 output signal CH0O is not active
1: On – Channel 0 output signal CH0O is generated on the corresponding output pin