Initialization and configuration functions.
More...
Initialization and configuration functions.
===============================================================================
##### Initialization and configuration functions #####
===============================================================================
[..] This section provides functions allowing to:
(+) Initialize the RNG according to the specified parameters
in the RNG_InitTypeDef and create the associated handle
(+) DeInitialize the RNG peripheral
(+) Initialize the RNG MSP
(+) DeInitialize RNG MSP
◆ HAL_RNG_DeInit()
HAL_StatusTypeDef HAL_RNG_DeInit |
( |
RNG_HandleTypeDef * |
hrng | ) |
|
DeInitializes the RNG peripheral.
- Parameters
-
hrng | pointer to a RNG_HandleTypeDef structure that contains the configuration information for RNG. |
- Return values
-
Definition at line 216 of file stm32f4xx_hal_rng.c.
◆ HAL_RNG_Init()
HAL_StatusTypeDef HAL_RNG_Init |
( |
RNG_HandleTypeDef * |
hrng | ) |
|
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
-
Definition at line 155 of file stm32f4xx_hal_rng.c.
◆ HAL_RNG_MspDeInit()
__weak void HAL_RNG_MspDeInit |
( |
RNG_HandleTypeDef * |
hrng | ) |
|
DeInitializes the RNG MSP.
- Parameters
-
hrng | pointer to a RNG_HandleTypeDef structure that contains the configuration information for RNG. |
- Return values
-
Definition at line 277 of file stm32f4xx_hal_rng.c.
◆ HAL_RNG_MspInit()
__weak void HAL_RNG_MspInit |
( |
RNG_HandleTypeDef * |
hrng | ) |
|
Initializes the RNG MSP.
- Parameters
-
hrng | pointer to a RNG_HandleTypeDef structure that contains the configuration information for RNG. |
- Return values
-
Definition at line 262 of file stm32f4xx_hal_rng.c.
◆ HAL_RNG_RegisterCallback()
Register a User RNG Callback To be used instead of the weak predefined callback.
- Parameters
-
hrng | RNG handle |
CallbackID | ID of the callback to be registered This parameter can be one of the following values:
|
pCallback | pointer to the Callback function |
- Return values
-
Definition at line 299 of file stm32f4xx_hal_rng.c.
◆ HAL_RNG_RegisterReadyDataCallback()
Register Data Ready RNG Callback To be used instead of the weak HAL_RNG_ReadyDataCallback() predefined callback.
- Parameters
-
hrng | RNG handle |
pCallback | pointer to the Data Ready Callback function |
- Return values
-
Definition at line 444 of file stm32f4xx_hal_rng.c.
◆ HAL_RNG_UnRegisterCallback()
Unregister an RNG Callback RNG callback is redirected to the weak predefined callback.
- Parameters
-
hrng | RNG handle |
CallbackID | ID of the callback to be unregistered This parameter can be one of the following values:
|
- Return values
-
Definition at line 377 of file stm32f4xx_hal_rng.c.
◆ HAL_RNG_UnRegisterReadyDataCallback()
HAL_StatusTypeDef HAL_RNG_UnRegisterReadyDataCallback |
( |
RNG_HandleTypeDef * |
hrng | ) |
|