STM32H735xx HAL User Manual
Functions
RNG Configuration functions
RNG Exported Functions

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 void LL_RNG_EnableClkErrorDetect (RNG_TypeDef *RNGx)
 Enable Clock Error Detection.
__STATIC_INLINE void LL_RNG_DisableClkErrorDetect (RNG_TypeDef *RNGx)
 Disable RNG Clock Error Detection.
__STATIC_INLINE uint32_t LL_RNG_IsEnabledClkErrorDetect (RNG_TypeDef *RNGx)
 Check if RNG Clock Error Detection is enabled.
__STATIC_INLINE void LL_RNG_EnableCondReset (RNG_TypeDef *RNGx)
 Set RNG Conditioning Soft Reset bit.
__STATIC_INLINE void LL_RNG_DisableCondReset (RNG_TypeDef *RNGx)
 Reset RNG Conditioning Soft Reset bit.
__STATIC_INLINE uint32_t LL_RNG_IsEnabledCondReset (RNG_TypeDef *RNGx)
 Check if RNG Conditioning Soft Reset bit is set.
__STATIC_INLINE void LL_RNG_ConfigLock (RNG_TypeDef *RNGx)
 Enable RNG Config Lock.
__STATIC_INLINE uint32_t LL_RNG_IsConfigLocked (RNG_TypeDef *RNGx)
 Check if RNG Config Lock is enabled.
__STATIC_INLINE void LL_RNG_EnableNistCompliance (RNG_TypeDef *RNGx)
 Enable NIST Compliance.
__STATIC_INLINE void LL_RNG_DisableNistCompliance (RNG_TypeDef *RNGx)
 Disable NIST Compliance.
__STATIC_INLINE uint32_t LL_RNG_IsEnabledNistCompliance (RNG_TypeDef *RNGx)
 Check if NIST Compliance is enabled.
__STATIC_INLINE void LL_RNG_SetConfig1 (RNG_TypeDef *RNGx, uint32_t Config1)
 Set RNG Config1 Configuration field value.
__STATIC_INLINE uint32_t LL_RNG_GetConfig1 (RNG_TypeDef *RNGx)
 Get RNG Config1 Configuration field value.
__STATIC_INLINE void LL_RNG_SetConfig2 (RNG_TypeDef *RNGx, uint32_t Config2)
 Set RNG Config2 Configuration field value.
__STATIC_INLINE uint32_t LL_RNG_GetConfig2 (RNG_TypeDef *RNGx)
 Get RNG Config2 Configuration field value.
__STATIC_INLINE void LL_RNG_SetConfig3 (RNG_TypeDef *RNGx, uint32_t Config3)
 Set RNG Config3 Configuration field value.
__STATIC_INLINE uint32_t LL_RNG_GetConfig3 (RNG_TypeDef *RNGx)
 Get RNG Config3 Configuration field value.
__STATIC_INLINE void LL_RNG_SetClockDivider (RNG_TypeDef *RNGx, uint32_t Divider)
 Set RNG Clock divider factor.
__STATIC_INLINE uint32_t LL_RNG_GetClockDivider (RNG_TypeDef *RNGx)
 Get RNG Clock divider factor.

Function Documentation

__STATIC_INLINE void LL_RNG_ConfigLock ( RNG_TypeDef *  RNGx)

Enable RNG Config Lock.

Reference Manual to LL API cross reference:
CR CONFIGLOCK LL_RNG_ConfigLock
Parameters:
RNGxRNG Instance
Return values:
None

Definition at line 291 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE void LL_RNG_Disable ( RNG_TypeDef *  RNGx)

Disable Random Number Generation.

Reference Manual to LL API cross reference:
CR RNGEN LL_RNG_Disable
Parameters:
RNGxRNG Instance
Return values:
None

Definition at line 202 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE void LL_RNG_DisableClkErrorDetect ( RNG_TypeDef *  RNGx)

Disable RNG Clock Error Detection.

Reference Manual to LL API cross reference:
CR CED LL_RNG_DisableClkErrorDetect
Parameters:
RNGxRNG Instance
Return values:
None

Definition at line 235 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE void LL_RNG_DisableCondReset ( RNG_TypeDef *  RNGx)

Reset RNG Conditioning Soft Reset bit.

Reference Manual to LL API cross reference:
CR CONDRST LL_RNG_DisableCondReset
Parameters:
RNGxRNG Instance
Return values:
None

Definition at line 269 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE void LL_RNG_DisableNistCompliance ( RNG_TypeDef *  RNGx)

Disable NIST Compliance.

Reference Manual to LL API cross reference:
CR NISTC LL_RNG_DisableNistCompliance
Parameters:
RNGxRNG Instance
Return values:
None

Definition at line 324 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE void LL_RNG_Enable ( RNG_TypeDef *  RNGx)

Enable Random Number Generation.

Reference Manual to LL API cross reference:
CR RNGEN LL_RNG_Enable
Parameters:
RNGxRNG Instance
Return values:
None

Definition at line 191 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE void LL_RNG_EnableClkErrorDetect ( RNG_TypeDef *  RNGx)

Enable Clock Error Detection.

Reference Manual to LL API cross reference:
CR CED LL_RNG_EnableClkErrorDetect
Parameters:
RNGxRNG Instance
Return values:
None

Definition at line 224 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE void LL_RNG_EnableCondReset ( RNG_TypeDef *  RNGx)

Set RNG Conditioning Soft Reset bit.

Reference Manual to LL API cross reference:
CR CONDRST LL_RNG_EnableCondReset
Parameters:
RNGxRNG Instance
Return values:
None

Definition at line 258 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE void LL_RNG_EnableNistCompliance ( RNG_TypeDef *  RNGx)

Enable NIST Compliance.

Reference Manual to LL API cross reference:
CR NISTC LL_RNG_EnableNistCompliance
Parameters:
RNGxRNG Instance
Return values:
None

Definition at line 313 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE uint32_t LL_RNG_GetClockDivider ( RNG_TypeDef *  RNGx)

Get RNG Clock divider factor.

Reference Manual to LL API cross reference:
CR CLKDIV LL_RNG_GetClockDivider
Parameters:
RNGxRNG Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 459 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE uint32_t LL_RNG_GetConfig1 ( RNG_TypeDef *  RNGx)

Get RNG Config1 Configuration field value.

Reference Manual to LL API cross reference:
CR RNG_CONFIG1 LL_RNG_GetConfig1
Parameters:
RNGxRNG Instance
Return values:
ReturnedValue expressed on 6 bits : Value between 0 and 0x3F

Definition at line 358 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE uint32_t LL_RNG_GetConfig2 ( RNG_TypeDef *  RNGx)

Get RNG Config2 Configuration field value.

Reference Manual to LL API cross reference:
CR RNG_CONFIG2 LL_RNG_GetConfig2
Parameters:
RNGxRNG Instance
Return values:
ReturnedValue expressed on 3 bits : Value between 0 and 0x7

Definition at line 381 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE uint32_t LL_RNG_GetConfig3 ( RNG_TypeDef *  RNGx)

Get RNG Config3 Configuration field value.

Reference Manual to LL API cross reference:
CR RNG_CONFIG3 LL_RNG_GetConfig3
Parameters:
RNGxRNG Instance
Return values:
ReturnedValue expressed on 4 bits : Value between 0 and 0xF

Definition at line 404 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE uint32_t LL_RNG_IsConfigLocked ( RNG_TypeDef *  RNGx)

Check if RNG Config Lock is enabled.

Reference Manual to LL API cross reference:
CR CONFIGLOCK LL_RNG_IsConfigLocked
Parameters:
RNGxRNG Instance
Return values:
Stateof bit (1 or 0).

Definition at line 302 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE uint32_t LL_RNG_IsEnabled ( RNG_TypeDef *  RNGx)

Check if Random Number Generator is enabled.

Reference Manual to LL API cross reference:
CR RNGEN LL_RNG_IsEnabled
Parameters:
RNGxRNG Instance
Return values:
Stateof bit (1 or 0).

Definition at line 213 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE uint32_t LL_RNG_IsEnabledClkErrorDetect ( RNG_TypeDef *  RNGx)

Check if RNG Clock Error Detection is enabled.

Reference Manual to LL API cross reference:
CR CED LL_RNG_IsEnabledClkErrorDetect
Parameters:
RNGxRNG Instance
Return values:
Stateof bit (1 or 0).

Definition at line 246 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE uint32_t LL_RNG_IsEnabledCondReset ( RNG_TypeDef *  RNGx)

Check if RNG Conditioning Soft Reset bit is set.

Reference Manual to LL API cross reference:
CR CONDRST LL_RNG_IsEnabledCondReset
Parameters:
RNGxRNG Instance
Return values:
Stateof bit (1 or 0).

Definition at line 280 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE uint32_t LL_RNG_IsEnabledNistCompliance ( RNG_TypeDef *  RNGx)

Check if NIST Compliance is enabled.

Reference Manual to LL API cross reference:
CR NISTC LL_RNG_IsEnabledNistCompliance
Parameters:
RNGxRNG Instance
Return values:
Stateof bit (1 or 0).

Definition at line 335 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE void LL_RNG_SetClockDivider ( RNG_TypeDef *  RNGx,
uint32_t  Divider 
)

Set RNG Clock divider factor.

Reference Manual to LL API cross reference:
CR CLKDIV LL_RNG_SetClockDivider
Parameters:
RNGxRNG Instance
Dividercan be one of the following values:
Return values:
None

Definition at line 432 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE void LL_RNG_SetConfig1 ( RNG_TypeDef *  RNGx,
uint32_t  Config1 
)

Set RNG Config1 Configuration field value.

Reference Manual to LL API cross reference:
CR RNG_CONFIG1 LL_RNG_SetConfig1
Parameters:
RNGxRNG Instance
Config1Value between 0 and 0x3F
Return values:
None

Definition at line 347 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE void LL_RNG_SetConfig2 ( RNG_TypeDef *  RNGx,
uint32_t  Config2 
)

Set RNG Config2 Configuration field value.

Reference Manual to LL API cross reference:
CR RNG_CONFIG2 LL_RNG_SetConfig2
Parameters:
RNGxRNG Instance
Config2Value between 0 and 0x7
Return values:
None

Definition at line 370 of file stm32h7xx_ll_rng.h.

__STATIC_INLINE void LL_RNG_SetConfig3 ( RNG_TypeDef *  RNGx,
uint32_t  Config3 
)

Set RNG Config3 Configuration field value.

Reference Manual to LL API cross reference:
CR RNG_CONFIG3 LL_RNG_SetConfig3
Parameters:
RNGxRNG Instance
Config3Value between 0 and 0xF
Return values:
None

Definition at line 393 of file stm32h7xx_ll_rng.h.