1.22.22.5 1.23.21.5 1.24.18.5 RNG_Seed1Get Function

C

uint32_t RNG_Seed1Get (void);

Summary

Returns the content of RNGSEED1 register.

Description

This function is used to read the Least Significant Byte 32-bits of the TRNG number (from RNGSEED1 register).

Precondition

None.

Parameters

None.

Returns

Contents of RNGSEED1.

Example

uint32_t seed1 = 0;
seed1 = RNG_Seed1Get();

Remarks

Use together with RNG_Seed2Get() if the required bits length is more than 32-bits.