MG32F10x Standard Peripherals Firmware Library
Functions
RNG_Private_Functions

Functions

void RNG_DeInit (void)
 Deinitializes the RNG peripheral registers to their default reset values. More...
 
void RNG_Cmd (FunctionalState NewState)
 Enables or disables the RNG peripheral. More...
 
uint8_t RNG_RandByte (void)
 Return a random byte. More...
 

Detailed Description

Function Documentation

◆ RNG_Cmd()

void RNG_Cmd ( FunctionalState  NewState)

Enables or disables the RNG peripheral.

Parameters
NewStatenew state of the RNG peripheral. This parameter can be: ENABLE or DISABLE.
Returns
None

◆ RNG_DeInit()

void RNG_DeInit ( void  )

Deinitializes the RNG peripheral registers to their default reset values.

Returns
None

◆ RNG_RandByte()

uint8_t RNG_RandByte ( void  )

Return a random byte.

Returns
Random byte.