
GD32L23x User Manual
163
9.4.
Register definition
TRNG base address: 0x5006 0800
9.4.1.
Control register (TRNG_CTL)
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
IE
TRNGEN
Reserved
rw
rw
Bits
Fields
Descriptions
31:4
Reserved
Must be kept at reset value.
3
IE
Interrupt enabled bit. This bit controls the generation of an interrupt when DRDY,
SEIF or CEIF was set.
0: disable TRNG interrupt
1: enable TRNG interrupt
2
TRNGEN
TRNG enabled bit.
0: disable TRNG module (reduce power consuming)
1: enable TRNG module
1:0
Reserved
Must be kept at reset value.
9.4.2.
Status register (TRNG_STAT)
Address offset: 0x04
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
SEIF
CEIF
Reserved
SECS
CECS
DRDY
rc_w0
rc_w0
r
r
r
Bits
Fields
Descriptions