EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #460 background imageLoading...
Page #460 background image
HAL RNG Generic Driver
UM1940
460/1371
DocID028236 Rev 2
Return values
None:
HAL_RNG_MspDeInit
Function name
void HAL_RNG_MspDeInit (RNG_HandleTypeDef * hrng)
Function description
DeInitializes the RNG MSP.
Parameters
hrng: pointer to a RNG_HandleTypeDef structure that
contains the configuration information for RNG.
Return values
None:
HAL_RNG_GetRandomNumber
Function name
uint32_t HAL_RNG_GetRandomNumber (RNG_HandleTypeDef
* hrng)
Function description
Returns generated random number in polling mode (Obsolete)
Use HAL_RNG_GenerateRandomNumber() API instead.
Parameters
hrng: pointer to a RNG_HandleTypeDef structure that
contains the configuration information for RNG.
Return values
Random: value
HAL_RNG_GetRandomNumber_IT
Function name
uint32_t HAL_RNG_GetRandomNumber_IT
(RNG_HandleTypeDef * hrng)
Function description
Returns a 32-bit random number with interrupt enabled (Obsolete),
Use HAL_RNG_GenerateRandomNumber_IT() API instead.
Parameters
hrng: pointer to a RNG_HandleTypeDef structure that
contains the configuration information for RNG.
Return values
32-bit: random number
HAL_RNG_GenerateRandomNumber
Function name
HAL_StatusTypeDef HAL_RNG_GenerateRandomNumber
(RNG_HandleTypeDef * hrng, uint32_t * random32bit)
Function description
Generates a 32-bit random number.
Parameters
hrng: pointer to a RNG_HandleTypeDef structure that
contains the configuration information for RNG.
random32bit: pointer to generated random number variable
if successful.
Return values
HAL: status
Notes
Each time the random number data is read the
RNG_FLAG_DRDY flag is automatically cleared.
HAL_RNG_GenerateRandomNumber_IT
Function name
HAL_StatusTypeDef HAL_RNG_GenerateRandomNumber_IT
(RNG_HandleTypeDef * hrng)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals