GD32F20x User Manual
189
9.4.
Register definition
TRNG start 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: TRNG Interrupt disable
1: TRNG Interrupt enable
2
TRNGEN
TRNG enabled bit.
0: TRNG module disable(reduce power consuming)
1: TRNG module enable
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
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...