GD32W51x User Manual
313
rc_w0
rc_w0
r
r
r
Bits
Fields
Descriptions
31:7
Reserved
Must be kept at reset value.
6
SEIF
Seed error interrupt flag
This bit w ill be set if more than 64 consecutive same bit or more than 32 consecutive
01(or 10) changing are detected.
0: No fault detected
1: Seed error has been detected. The bit is cleared by w riting 0.
5
CEIF
Clock error interrupt flag
This bit w ill be set if TRNG_CLK frequency is low er than 1/16 HCLK frequency.
0: No fault detected
1: Clock error has been detected. The bit is cleared by w riting 0.
4:3
Reserved
Must be kept at reset value.
2
SECS
Seed error current status
0: Seed error is not detected at current time. In case of SEIF=1 and SECS=0, it
means seed error has been detected before but now is recovered.
1: Seed error is detected at current time if more than 64 consecutive same bits or
more than 32 consecutive 01(or 10) changing are detected
1
CECS
Clock error current status
0: Clock error is not detected at current time. In case of CEIF=1 and CECS=0, it
means clock error has been detected before but now is recovered.
1: Clock error is detected at current time. TRNG_CLK frequency is low er than 1/16
HCLK frequency.
0
DRDY
Random data ready status bit. This bit is cleared by reading the TRNG_DA TA
register and set w hen a new random number is generated.
0: The content of TRNG data register is not available.
1: The content of TRNG data register is available.
11.4.3.
Data register (TRNG_DATA)
Address offset: 0x08
Reset value: 0x0000 0000
Application must make sure DRDY is set before reading this register
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
TRNDATA[31:16]
r