
Rev. 1.00
367 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
16 Motor Control T
imer (MCTM)
Channel 0 Capture/Compare Register – CH0CCR
This register specifies the timer channel 0 capture/compare value.
Offset:
0x090
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
CH0CCV
Type/Reset RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0
7
6
5
4
3
2
1
0
CH0CCV
Type/Reset RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0
Bits
Field
Descriptions
[15:0]
CH0CCV
Channel 0 Capture/Compare Value
- When Channel 0 is configured as an output
The CH0CCR value is compared with the counter value and the comparison result
is used to trigger the CH0OREF output signal.
- When Channel 0 is configured as an input
The CH0CCR register stores the counter value captured by the last channel 0
capture event.