GD32F403xx User Manual
300
PSC[15:0]
rw
Bits
Fields
Descriptions
15:0
PSC[15:0]
Prescaler value of the counter clock
The TIMER_CK clock is divided by (PSC+1) to generate the counter clock. The
value of this bit-filed will be loaded to the corresponding shadow register at every
update event.
Counter auto reload register (TIMERx_CAR)
Address offset: 0x2C
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
CARL[15:0]
rw
Bits
Fields
Descriptions
15:0
CARL[15:0]
Counter auto reload value
This bit-filed specifies the auto reload value of the counter.
Note:
When the timer is configured in input capture mode, this register must be
configured a non -zero value (such as 0xFFFF) which is larger than user expected
value.
Counter repetition register (TIMERx_CREP)
Address offset: 0x30
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
Reserved
CREP[7:0]
rw
Bits
Fields
Descriptions
15: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 down to zero, an update event is generated. The update rate of
the shadow registers is also affected by this bit-filed when these shadow registers