GD32A50x User Manual
264
13.4.
Registers definition
DEBUG base address: 0xE004 4000
13.4.1.
ID code register (DBG_ID)
Address offset: 0x00
Read only
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
ID_CODE[31:16]
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ID_CODE[15:0]
r
Bits
Fields
Descriptions
31:0
ID_CODE[31:0]
DBG ID code register
These bits read by software. These bits are unchanged constant.
13.4.2.
Control register (DBG_CTL)
Address offset: 0x04
Reset value: 0x0000 0000, power reset only.
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
TIMER19
_HOLD
TIMER20
_HOLD
Reserved
CAN1_HO
LD
CAN0_HO
LD
MFCOM_
HOLD
TIMER6_
HOLD
TIMER5_
HOLD
Reserved
TIMER7_
HOLD
I2C1_HO
LD
rw
rw
rw
rw
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
I2C0_HO
LD
Reserved
TIMER1_
HOLD
TIMER0_
HOLD
WWDGT
_HOLD
FWDGT_
HOLD
Reserved
STB_
HOLD
DSLP_
HOLD
SLP_
HOLD
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31
TIMER19_HOLD
TIMER19 hold bit
This bit is set and reset by software.
0: no effect
1: Hold the TIMER19 counter for debug when core halted.
30
TIMER20_HOLD
TIMER20 hold bit
This bit is set and reset by software.
0: no effect