TUKS MCU Introductory course / TUKS-COURSE-TIMER
Embed: (wiki syntax)

« Back to documentation index

RNG_Exported_Functions_Group1

RNG_Exported_Functions_Group1
[RNG_Exported_Functions]

Initialization and de-initialization functions. More...

Functions

HAL_StatusTypeDef HAL_RNG_Init (RNG_HandleTypeDef *hrng)
 Initialize the RNG peripheral and initialize the associated handle.
HAL_StatusTypeDef HAL_RNG_DeInit (RNG_HandleTypeDef *hrng)
 DeInitialize the RNG peripheral.
__weak void HAL_RNG_MspInit (RNG_HandleTypeDef *hrng)
 Initialize the RNG MSP.
__weak void HAL_RNG_MspDeInit (RNG_HandleTypeDef *hrng)
 DeInitialize 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 (MCU Specific Package)
      (+) DeInitialize the RNG MSP 
 

Function Documentation

HAL_StatusTypeDef HAL_RNG_DeInit ( RNG_HandleTypeDef *  hrng )

DeInitialize the RNG peripheral.

Parameters:
hrng,:pointer to a RNG_HandleTypeDef structure.
Return values:
HALstatus

Definition at line 159 of file stm32l4xx_hal_rng.c.

HAL_StatusTypeDef HAL_RNG_Init ( RNG_HandleTypeDef *  hrng )

Initialize the RNG peripheral and initialize the associated handle.

Parameters:
hrng,:pointer to a RNG_HandleTypeDef structure.
Return values:
HALstatus

Definition at line 118 of file stm32l4xx_hal_rng.c.

__weak void HAL_RNG_MspDeInit ( RNG_HandleTypeDef *  hrng )

DeInitialize the RNG MSP.

Parameters:
hrng,:pointer to a RNG_HandleTypeDef structure.
Return values:
None

Definition at line 205 of file stm32l4xx_hal_rng.c.

__weak void HAL_RNG_MspInit ( RNG_HandleTypeDef *  hrng )

Initialize the RNG MSP.

Parameters:
hrng,:pointer to a RNG_HandleTypeDef structure.
Return values:
None

Definition at line 190 of file stm32l4xx_hal_rng.c.