STM32F439xx HAL User Manual
Functions
Initialization and de-initialization functions
RNG Exported Functions

Initialization and de-initialization functions. More...

Functions

HAL_StatusTypeDef HAL_RNG_Init (RNG_HandleTypeDef *hrng)
 Initializes the RNG peripheral and creates the associated handle.
HAL_StatusTypeDef HAL_RNG_DeInit (RNG_HandleTypeDef *hrng)
 DeInitializes the RNG peripheral.
__weak void HAL_RNG_MspInit (RNG_HandleTypeDef *hrng)
 Initializes the RNG MSP.
__weak void HAL_RNG_MspDeInit (RNG_HandleTypeDef *hrng)
 DeInitializes the RNG MSP.

Detailed Description

Initialization and de-initialization functions.

 ===============================================================================
          ##### Initialization and de-initialization 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 


Function Documentation

HAL_StatusTypeDef HAL_RNG_DeInit ( RNG_HandleTypeDef hrng)

DeInitializes the RNG peripheral.

Parameters:
hrngpointer to a RNG_HandleTypeDef structure that contains the configuration information for RNG.
Return values:
HALstatus

Definition at line 156 of file stm32f4xx_hal_rng.c.

References HAL_RNG_MspDeInit(), HAL_RNG_STATE_RESET, RNG_HandleTypeDef::Instance, and RNG_HandleTypeDef::State.

HAL_StatusTypeDef HAL_RNG_Init ( RNG_HandleTypeDef hrng)

Initializes the RNG peripheral and creates the associated handle.

Parameters:
hrngpointer to a RNG_HandleTypeDef structure that contains the configuration information for RNG.
Return values:
HALstatus

Definition at line 121 of file stm32f4xx_hal_rng.c.

References __HAL_RNG_ENABLE, HAL_RNG_MspInit(), HAL_RNG_STATE_BUSY, HAL_RNG_STATE_READY, HAL_RNG_STATE_RESET, RNG_HandleTypeDef::Lock, and RNG_HandleTypeDef::State.

DeInitializes the RNG MSP.

Parameters:
hrngpointer to a RNG_HandleTypeDef structure that contains the configuration information for RNG.
Return values:
None

Definition at line 203 of file stm32f4xx_hal_rng.c.

Referenced by HAL_RNG_DeInit().

Initializes the RNG MSP.

Parameters:
hrngpointer to a RNG_HandleTypeDef structure that contains the configuration information for RNG.
Return values:
None

Definition at line 188 of file stm32f4xx_hal_rng.c.

Referenced by HAL_RNG_Init().