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 #462 background imageLoading...
Page #462 background image
HAL RNG Generic Driver
UM1940
462/1371
DocID028236 Rev 2
HAL_RNG_ReadyDataCallback
Function name
void HAL_RNG_ReadyDataCallback (RNG_HandleTypeDef *
hrng, uint32_t random32bit)
Function description
Data Ready callback in non-blocking mode.
Parameters
hrng: pointer to a RNG_HandleTypeDef structure that
contains the configuration information for RNG.
random32bit: generated random number.
Return values
None:
HAL_RNG_GetState
Function name
HAL_RNG_StateTypeDef HAL_RNG_GetState
(RNG_HandleTypeDef * hrng)
Function description
Returns the RNG state.
Parameters
hrng: pointer to a RNG_HandleTypeDef structure that
contains the configuration information for RNG.
Return values
HAL: state
38.3 RNG Firmware driver defines
38.3.1 RNG
RNG Interrupt definition
RNG_IT_DRDY
Data Ready interrupt
RNG_IT_CEI
Clock error interrupt
RNG_IT_SEI
Seed error interrupt
RNG Flag definition
RNG_FLAG_DRDY
Data ready
RNG_FLAG_CECS
Clock error current status
RNG_FLAG_SECS
Seed error current status
RNG Exported Macros
__HAL_RNG_RESET_HANDLE_STATE
Description:
Reset RNG handle state.
Parameters:
__HANDLE__: RNG Handle
Return value:
None
__HAL_RNG_ENABLE
Description:
Enables the RNG peripheral.
Parameters:
__HANDLE__: RNG Handle

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