STM32L486xx HAL User Manual
Data Structures | Typedefs | Enumerations
RNG Exported Types
RNG

Data Structures

struct  __RNG_HandleTypeDef
 RNG Handle Structure definition. More...

Typedefs

typedef struct __RNG_HandleTypeDef RNG_HandleTypeDef
 RNG Handle Structure definition.
typedef void(* pRNG_CallbackTypeDef )(RNG_HandleTypeDef *hrng)
 HAL RNG Callback pointer definition.
typedef void(* pRNG_ReadyDataCallbackTypeDef )(RNG_HandleTypeDef *hrng, uint32_t random32bit)

Enumerations

enum  HAL_RNG_StateTypeDef {
  HAL_RNG_STATE_RESET = 0x00, HAL_RNG_STATE_READY = 0x01, HAL_RNG_STATE_BUSY = 0x02, HAL_RNG_STATE_TIMEOUT = 0x03,
  HAL_RNG_STATE_ERROR = 0x04
}
 RNG HAL State Structure definition. More...
enum  HAL_RNG_CallbackIDTypeDef { HAL_RNG_ERROR_CB_ID = 0x00U, HAL_RNG_MSPINIT_CB_ID = 0x01U, HAL_RNG_MSPDEINIT_CB_ID = 0x02U }
 HAL RNG Callback ID enumeration definition. More...

Typedef Documentation

typedef void(* pRNG_CallbackTypeDef)(RNG_HandleTypeDef *hrng)

HAL RNG Callback pointer definition.

pointer to a common RNG callback function

Definition at line 128 of file stm32l4xx_hal_rng.h.

typedef void(* pRNG_ReadyDataCallbackTypeDef)(RNG_HandleTypeDef *hrng, uint32_t random32bit)

pointer to an RNG Data Ready specific callback function

Definition at line 129 of file stm32l4xx_hal_rng.h.

RNG Handle Structure definition.


Enumeration Type Documentation

HAL RNG Callback ID enumeration definition.

Enumerator:
HAL_RNG_ERROR_CB_ID 

RNG Error Callback ID

HAL_RNG_MSPINIT_CB_ID 

RNG MspInit callback ID

HAL_RNG_MSPDEINIT_CB_ID 

RNG MspDeInit callback ID

Definition at line 116 of file stm32l4xx_hal_rng.h.

RNG HAL State Structure definition.

Enumerator:
HAL_RNG_STATE_RESET 

RNG not yet initialized or disabled

HAL_RNG_STATE_READY 

RNG initialized and ready for use

HAL_RNG_STATE_BUSY 

RNG internal process is ongoing

HAL_RNG_STATE_TIMEOUT 

RNG timeout state

HAL_RNG_STATE_ERROR 

RNG error state

Definition at line 73 of file stm32l4xx_hal_rng.h.