![GigaDevice Semiconductor GD32A50 Series User Manual Download Page 456](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32a50-series/gd32a50-series_user-manual_2225782456.webp)
GD32A50x User Manual
456
When channel 0 is configured in output mode, this bit-field contains value to be
compared to the counter. When the corresponding shadow register is enabled, the
shadow register updates by every update event.
Channel 1 capture/compare value register (TIMERx_CH1CV)
Address offset: 0x38
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CH1VAL[15:0]
rw
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value.
15:0
CH1VAL[15:0]
Capture/compare value of channel1
When channel 1 is configured in input mode, this bit-field indicates the counter value
at the last capture event.And this bit-field is read-only.
When channel 1 is configured in output mode, this bit-field contains value to be
compared to the counter. When the corresponding shadow register is enabled, the
shadow register updates by every update event.
Channel 2 capture/compare value register (TIMERx_CH2CV)
Address offset: 0x3C
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CH2VAL[15:0]
rw
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value.
15:0
CH2VAL[15:0]
Capture/compare value of channel 2
When channel 2 is configured in input mode, this bit-field indicates the counter value