STM32F439xx 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) 2017 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file stm32f4xx_ll_rng.h.