GD32W51x User Manual
575
Counter repetition register (TIMERx_CREP)
Address offset: 0x30
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
Reserved
CREP[7:0]
rw
Bits
Fields
Descriptions
31:8
Reserved
Must be kept at reset value.
7:0
CREP[7:0]
Counter repetition value
This bit-filed specifies the update event generation rate. Each time the repetition
counter counting dow n to zero, an update event is generated. The update rate of
the shadow registers is also affected by this bit-filed w hen these shadow registers
are enabled.
Channel 0 capture/compare value register (TIMERx_CH0CV)
Address offset: 0x34
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
CH0VAL[15:0]
rw
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value
15:0
CH0VAL[15:0]
Capture or compare value of channel0
When channel 0 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 0 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.