GD32W51x User Manual
312
11.4.
Register definition
TRNG secure base address: 0x5C06 0800
TRNG non-secure base address: 0x4C06 0800
11.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 w hen DRDY ,
SEIF or CEIF w as set.
0: disable TRNG interrupt
1: enable TRNG interrupt
2
TRNGEN
TRNG enabled bit.
0: disable TRNG module (reduce pow er consuming)
1: enable TRNG module
1:0
Reserved
Must be kept at reset value.
11.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