1.24.18.9 RNG_LoadSet Function
C
void RNG_LoadSet (void);
Summary
Sets the LOAD bit in RNGCON register.
Description
This function sets the LOAD bit in RNGCON register which triggers loading of the seed for PRNG from RNGSEEDx registers of the TRNG.
Precondition
RNG_Initialize must have been called before using this function. Before calling RNG_LoadSet(), call RNG_WaitForTrngCnt() to ensure that the seed contains the required number of valid bits.
Parameters
None.
Returns
None.
Example
RNG_LoadSet();
Remarks
Calling RNG_LoadSet() also triggers generation of a new true random number in the TRNG.