STM32L486xx HAL User Manual
Functions
Peripheral State and Error functions
RNG Exported Functions

Peripheral State functions. More...

Functions

HAL_RNG_StateTypeDef HAL_RNG_GetState (RNG_HandleTypeDef *hrng)
 Return the RNG handle state.
uint32_t HAL_RNG_GetError (RNG_HandleTypeDef *hrng)
 Return the RNG handle error code.

Detailed Description

Peripheral State functions.

 ===============================================================================
                ##### Peripheral State and Error functions #####
 ===============================================================================  
    [..]
    This subsection permits to :
      (+) Return in run-time the status of the peripheral.
      (+) Return the RNG handle error code


Function Documentation

uint32_t HAL_RNG_GetError ( RNG_HandleTypeDef hrng)

Return the RNG handle error code.

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

Definition at line 842 of file stm32l4xx_hal_rng.c.

References __RNG_HandleTypeDef::ErrorCode.

Return the RNG handle state.

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

Definition at line 831 of file stm32l4xx_hal_rng.c.

References __RNG_HandleTypeDef::State.