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 #459 background imageLoading...
Page #459 background image
UM1940
HAL RNG Generic Driver
DocID028236 Rev 2
459/1371
38.2.3 Peripheral Control functions
This section provides functions allowing to:
Get the 32 bit Random number
Get the 32 bit Random number with interrupt enabled
Handle RNG interrupt request
This section contains the following APIs:
HAL_RNG_GenerateRandomNumber()
HAL_RNG_GenerateRandomNumber_IT()
HAL_RNG_IRQHandler()
HAL_RNG_GetRandomNumber()
HAL_RNG_GetRandomNumber_IT()
HAL_RNG_ReadLastRandomNumber()
HAL_RNG_ReadyDataCallback()
HAL_RNG_ErrorCallback()
38.2.4 Peripheral State functions
This subsection permits to get in run-time the status of the peripheral and the data flow.
This section contains the following APIs:
HAL_RNG_GetState()
38.2.5 Detailed description of functions
HAL_RNG_Init
Function name
HAL_StatusTypeDef HAL_RNG_Init (RNG_HandleTypeDef *
hrng)
Function description
Initializes the RNG peripheral and creates the associated handle.
Parameters
hrng: pointer to a RNG_HandleTypeDef structure that
contains the configuration information for RNG.
Return values
HAL: status
HAL_RNG_DeInit
Function name
HAL_StatusTypeDef HAL_RNG_DeInit (RNG_HandleTypeDef *
hrng)
Function description
DeInitializes the RNG peripheral.
Parameters
hrng: pointer to a RNG_HandleTypeDef structure that
contains the configuration information for RNG.
Return values
HAL: status
HAL_RNG_MspInit
Function name
void HAL_RNG_MspInit (RNG_HandleTypeDef * hrng)
Function description
Initializes the RNG MSP.
Parameters
hrng: pointer to a RNG_HandleTypeDef structure that
contains the configuration information for RNG.

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