GD32VF103 User Manual
315
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CH1VAL[15:0]
rw
Bits
Fields
Descriptions
15:0
CH1VAL[15:0]
Capture or compare value of channel1
When channel 1 is configured in input mode, this bit-filed indicates the counter value
corresponding to the last capture event. And this bit-filed is read-only.
When channel 1 is configured in output mode, this bit-filed contains value to be
compared to the counter. When the corresponding shadow register is enabled, the
shadow register updates every update event.
Channel 2 capture/compare value register (TIMERx_CH2CV)
Address offset: 0x3C
Reset value: 0x0000
This register can be accessed by half-word (16-bit) or word (32-bit)
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CH2VAL[15:0]
rw
Bits
Fields
Descriptions
15:0
CH2VAL[15:0]
Capture or compare value of channel 2
When channel 2 is configured in input mode, this bit-filed indicates the counter value
corresponding to the last capture event. And this bit-filed is read-only.
When channel 2 is configured in output mode, this bit-filed contains value to be
compared to the counter. When the corresponding shadow register is enabled, the
shadow register updates every update event.
Channel 3 capture/compare value register (TIMERx_CH3CV)
Address offset: 0x40
Reset value: 0x0000
This register can be accessed by half-word (16-bit) or word (32-bit)
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CH3VAL[15:0]
rw
Bits
Fields
Descriptions
15:0
CH3VAL[15:0]
Capture or compare value of channel 3
When channel3 is configured in input mode, this bit-filed indicates the counter value