HAL_RNG_MspDeInit
void HAL_RNG_MspDeInit (RNG_HandleTypeDef * hrng)
DeInitializes the RNG MSP.
hrng: pointer to a RNG_HandleTypeDef structure that
contains the configuration information for RNG.
HAL_RNG_GetRandomNumber
uint32_t HAL_RNG_GetRandomNumber (RNG_HandleTypeDef
* hrng)
Returns generated random number in polling mode (Obsolete)
Use HAL_RNG_GenerateRandomNumber() API instead.
hrng: pointer to a RNG_HandleTypeDef structure that
contains the configuration information for RNG.
HAL_RNG_GetRandomNumber_IT
uint32_t HAL_RNG_GetRandomNumber_IT
(RNG_HandleTypeDef * hrng)
Returns a 32-bit random number with interrupt enabled (Obsolete),
Use HAL_RNG_GenerateRandomNumber_IT() API instead.
hrng: pointer to a RNG_HandleTypeDef structure that
contains the configuration information for RNG.
HAL_RNG_GenerateRandomNumber
HAL_StatusTypeDef HAL_RNG_GenerateRandomNumber
(RNG_HandleTypeDef * hrng, uint32_t * random32bit)
Generates a 32-bit random number.
hrng: pointer to a RNG_HandleTypeDef structure that
contains the configuration information for RNG.
random32bit: pointer to generated random number variable
if successful.
Each time the random number data is read the
RNG_FLAG_DRDY flag is automatically cleared.
HAL_RNG_GenerateRandomNumber_IT
HAL_StatusTypeDef HAL_RNG_GenerateRandomNumber_IT
(RNG_HandleTypeDef * hrng)