1.22.22.15 RNG_NumGen1Set Function

C

void RNG_NumGen1Set (uint32_t numgen);

Summary

Loads a value into the RNGNUMGEN1 register.

Description

This function can be used to set an initial seed value for the PRNG. When the PRNG operation is finished, RNGNUMGEN1 register contains the LSB 32-bits of the current random number in the PRNG.

Precondition

None.

Parameters

Value to be loaded into RNGNUMGEN1 register.

Returns

None.

Example

RNG_NumGen1Set(0x090a0b0c);

Remarks

None.