1.22.22.6 1.23.21.6 1.24.18.6 RNG_Seed2Get Function

C

uint32_t RNG_Seed2Get (void);

Summary

Returns the content of RNGSEED2 register.

Description

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

Precondition

RNG_Initialize must have been called before using this function.

Parameters

None.

Returns

Contents of RNGSEED2.

Example

uint32_t seed2 = 0;
seed2 = RNG_Seed2Get();

Remarks

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