
GD32L23x User Manual
353
17.2.5.
TIMERx registers(x=8, 11)
TIMER8 base address: 0x4001 4C00
TIMER11 base address: 0x4000 1800
Control register 0 (TIMERx_CTL0)
Address offset: 0x00
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
CKDIV[1:0]
ARSE
Reserved
SPM
UPS
UPDIS
CEN
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:10
Reserved
Must be kept at reset value.
9:8
CKDIV[1:0]
Clock division
The CKDIV bits can be configured by software to specify division ratio between
the timer clock (TIMER_CK) and the dead-time and sampling clock (DTS), which
is used by the dead-time generators and the digital filters.
00: f
DTS
=f
TIMER_CK
01: f
DTS
= f
TIMER_CK
/2
10: f
DTS
= f
TIMER_CK
/4
11: Reserved
7
ARSE
Auto-reload shadow enable
0: The shadow register for TIMERx_CAR register is disabled
1: The shadow register for TIMERx_CAR register is enabled
6:4
Reserved
Must be kept at reset value.
3
SPM
Single pulse mode.
0: Counter continues after update event.
1: The CEN is cleared by hardware and the counter stops at next update event.
2
UPS
Update source
This bit is used to select the update event sources by software.
0: When enabled, any of the following events generate an update interrupt or
DMA request:
The UPG bit is set
The counter generates an overflow or underflow event
The slave mode controller generates an update event.