STM32F479xx HAL User Manual
Defines | Functions
stm32f4xx_ll_rng.h File Reference

Header file of RNG LL module. More...

#include "stm32f4xx.h"

Go to the source code of this file.

Defines

#define LL_RNG_SR_DRDY   RNG_SR_DRDY
#define LL_RNG_SR_CECS   RNG_SR_CECS
#define LL_RNG_SR_SECS   RNG_SR_SECS
#define LL_RNG_SR_CEIS   RNG_SR_CEIS
#define LL_RNG_SR_SEIS   RNG_SR_SEIS
#define LL_RNG_CR_IE   RNG_CR_IE
#define LL_RNG_WriteReg(__INSTANCE__, __REG__, __VALUE__)   WRITE_REG(__INSTANCE__->__REG__, (__VALUE__))
 Write a value in RNG register.
#define LL_RNG_ReadReg(__INSTANCE__, __REG__)   READ_REG(__INSTANCE__->__REG__)
 Read a value in RNG register.

Functions

__STATIC_INLINE void LL_RNG_Enable (RNG_TypeDef *RNGx)
 Enable Random Number Generation.
__STATIC_INLINE void LL_RNG_Disable (RNG_TypeDef *RNGx)
 Disable Random Number Generation.
__STATIC_INLINE uint32_t LL_RNG_IsEnabled (RNG_TypeDef *RNGx)
 Check if Random Number Generator is enabled.
__STATIC_INLINE uint32_t LL_RNG_IsActiveFlag_DRDY (RNG_TypeDef *RNGx)
 Indicate if the RNG Data ready Flag is set or not.
__STATIC_INLINE uint32_t LL_RNG_IsActiveFlag_CECS (RNG_TypeDef *RNGx)
 Indicate if the Clock Error Current Status Flag is set or not.
__STATIC_INLINE uint32_t LL_RNG_IsActiveFlag_SECS (RNG_TypeDef *RNGx)
 Indicate if the Seed Error Current Status Flag is set or not.
__STATIC_INLINE uint32_t LL_RNG_IsActiveFlag_CEIS (RNG_TypeDef *RNGx)
 Indicate if the Clock Error Interrupt Status Flag is set or not.
__STATIC_INLINE uint32_t LL_RNG_IsActiveFlag_SEIS (RNG_TypeDef *RNGx)
 Indicate if the Seed Error Interrupt Status Flag is set or not.
__STATIC_INLINE void LL_RNG_ClearFlag_CEIS (RNG_TypeDef *RNGx)
 Clear Clock Error interrupt Status (CEIS) Flag.
__STATIC_INLINE void LL_RNG_ClearFlag_SEIS (RNG_TypeDef *RNGx)
 Clear Seed Error interrupt Status (SEIS) Flag.
__STATIC_INLINE void LL_RNG_EnableIT (RNG_TypeDef *RNGx)
 Enable Random Number Generator Interrupt (applies for either Seed error, Clock Error or Data ready interrupts)
__STATIC_INLINE void LL_RNG_DisableIT (RNG_TypeDef *RNGx)
 Disable Random Number Generator Interrupt (applies for either Seed error, Clock Error or Data ready interrupts)
__STATIC_INLINE uint32_t LL_RNG_IsEnabledIT (RNG_TypeDef *RNGx)
 Check if Random Number Generator Interrupt is enabled (applies for either Seed error, Clock Error or Data ready interrupts)
__STATIC_INLINE uint32_t LL_RNG_ReadRandData32 (RNG_TypeDef *RNGx)
 Return32-bit Random Number value.
ErrorStatus LL_RNG_DeInit (RNG_TypeDef *RNGx)
 De-initialize RNG registers (Registers restored to their default values).

Detailed Description

Header file of RNG LL module.

Author:
MCD Application Team
Attention:

© Copyright (c) 2016 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32f4xx_ll_rng.h.