LL RNG Functions ¶
LL RNG Functions ¶
- group RNG_LL_Exported_Functions
-
Functions
-
void
LL_RNG_EnableArdis
(
RNG_TypeDef
*
rngx
)
¶
-
Enable Auto reset.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ARDIS LL_RNG_EnableArdis
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableArdis
(
RNG_TypeDef
*
rngx
)
¶
-
Disable Auto reset.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ARDIS LL_RNG_DisableArdis
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledArdis
(
const
RNG_TypeDef
*
rngx
)
¶
-
Check if RNG Auto reset is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ARDIS LL_RNG_IsEnabledArdis
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableArdis
(
RNG_TypeDef
*
rngx
)
¶
- group RNG_LL_Exported_Functions
-
Functions
-
void
LL_RNG_EnableArdis
(
RNG_TypeDef
*
rngx
)
-
Enable Auto reset.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ARDIS LL_RNG_EnableArdis
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableArdis
(
RNG_TypeDef
*
rngx
)
-
Disable Auto reset.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ARDIS LL_RNG_DisableArdis
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledArdis
(
const
RNG_TypeDef
*
rngx
)
-
Check if RNG Auto reset is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ARDIS LL_RNG_IsEnabledArdis
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableArdis
(
RNG_TypeDef
*
rngx
)
- group RNG_LL_Exported_Functions
-
Functions
-
void
LL_RNG_EnableArdis
(
RNG_TypeDef
*
rngx
)
-
Enable Auto reset.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ARDIS LL_RNG_EnableArdis
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableArdis
(
RNG_TypeDef
*
rngx
)
-
Disable Auto reset.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ARDIS LL_RNG_DisableArdis
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledArdis
(
const
RNG_TypeDef
*
rngx
)
-
Check if RNG Auto reset is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ARDIS LL_RNG_IsEnabledArdis
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableArdis
(
RNG_TypeDef
*
rngx
)
RNG Configuration functions ¶
- group RNG_LL_EF_Configuration
-
Functions
-
void
LL_RNG_Enable
(
RNG_TypeDef
*
rngx
)
¶
-
Enable Random Number Generation.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNGEN LL_RNG_Enable
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_Disable
(
RNG_TypeDef
*
rngx
)
¶
-
Disable Random Number Generation.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNGEN LL_RNG_Disable
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabled
(
const
RNG_TypeDef
*
rngx
)
¶
-
Check if Random Number Generator is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNGEN LL_RNG_IsEnabled
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableClkErrorDetect
(
RNG_TypeDef
*
rngx
)
¶
-
Enable Clock Error Detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CED LL_RNG_EnableClkErrorDetect
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableClkErrorDetect
(
RNG_TypeDef
*
rngx
)
¶
-
Disable RNG Clock Error Detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CED LL_RNG_DisableClkErrorDetect
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledClkErrorDetect
(
const
RNG_TypeDef
*
rngx
)
¶
-
Check if RNG Clock Error Detection is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CED LL_RNG_IsEnabledClkErrorDetect
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableCondReset
(
RNG_TypeDef
*
rngx
)
¶
-
Set RNG Conditioning Soft Reset bit.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONDRST LL_RNG_EnableCondReset
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableCondReset
(
RNG_TypeDef
*
rngx
)
¶
-
Reset RNG Conditioning Soft Reset bit.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONDRST LL_RNG_DisableCondReset
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledCondReset
(
const
RNG_TypeDef
*
rngx
)
¶
-
Check if RNG Conditioning Soft Reset bit is set.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONDRST LL_RNG_IsEnabledCondReset
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_ConfigLock
(
RNG_TypeDef
*
rngx
)
¶
-
Enable RNG Config Lock.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONFIGLOCK LL_RNG_ConfigLock
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsConfigLocked
(
const
RNG_TypeDef
*
rngx
)
¶
-
Check if RNG Config Lock is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONFIGLOCK LL_RNG_IsConfigLocked
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableNistCompliance
(
RNG_TypeDef
*
rngx
)
¶
-
Enable NIST Compliance.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR NISTC LL_RNG_EnableNistCompliance
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableNistCompliance
(
RNG_TypeDef
*
rngx
)
¶
-
Disable NIST Compliance.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR NISTC LL_RNG_DisableNistCompliance
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledNistCompliance
(
const
RNG_TypeDef
*
rngx
)
¶
-
Check if NIST Compliance is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR NISTC LL_RNG_IsEnabledNistCompliance
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_SetConfig1
(
RNG_TypeDef
*
rngx
,
uint32_t
config1
)
¶
-
Set RNG Config1 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG1 LL_RNG_SetConfig1
- Parameters :
-
-
rngx – RNG Instance
-
config1 – Value between 0 and 0x3F
-
-
uint32_t
LL_RNG_GetConfig1
(
const
RNG_TypeDef
*
rngx
)
¶
-
Get RNG Config1 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG1 LL_RNG_GetConfig1
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Returned – Value expressed on 6 bits : Value between 0 and 0x3F
-
void
LL_RNG_SetConfig2
(
RNG_TypeDef
*
rngx
,
uint32_t
config2
)
¶
-
Set RNG Config2 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG2 LL_RNG_SetConfig2
- Parameters :
-
-
rngx – RNG Instance
-
config2 – Value between 0 and 0x7
-
-
uint32_t
LL_RNG_GetConfig2
(
const
RNG_TypeDef
*
rngx
)
¶
-
Get RNG Config2 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG2 LL_RNG_GetConfig2
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Returned – Value expressed on 3 bits : Value between 0 and 0x7
-
void
LL_RNG_SetConfig3
(
RNG_TypeDef
*
rngx
,
uint32_t
config3
)
¶
-
Set RNG Config3 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG3 LL_RNG_SetConfig3
- Parameters :
-
-
rngx – RNG Instance
-
config3 – Value between 0 and 0xF
-
-
uint32_t
LL_RNG_GetConfig3
(
const
RNG_TypeDef
*
rngx
)
¶
-
Get RNG Config3 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG3 LL_RNG_GetConfig3
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Returned – Value expressed on 4 bits : Value between 0 and 0xF
-
void
LL_RNG_SetClockDivider
(
RNG_TypeDef
*
rngx
,
uint32_t
divider
)
¶
-
Set RNG Clock divider factor.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CLKDIV LL_RNG_SetClockDivider
- Parameters :
-
-
rngx – RNG Instance
-
divider – can be one of the following values:
-
-
uint32_t
LL_RNG_GetClockDivider
(
const
RNG_TypeDef
*
rngx
)
¶
-
Get RNG Clock divider factor.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CLKDIV LL_RNG_GetClockDivider
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_RNG_SetConfig
(
RNG_TypeDef
*
rngx
,
uint32_t
config
)
¶
-
Set RNG configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONFIG1 LL_RNG_SetConfig
CR CONFIG2 LL_RNG_SetConfig
CR CONFIG3 LL_RNG_SetConfig
CR CLKDIV LL_RNG_SetConfig
CR NISTC LL_RNG_SetConfig
- Parameters :
-
-
rngx – RNG Instance
-
config – Specifies the configuration to be used
-
-
uint32_t
LL_RNG_GetConfig
(
const
RNG_TypeDef
*
rngx
)
¶
-
Get RNG configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONFIG1 LL_RNG_GetConfig
CR CONFIG2 LL_RNG_GetConfig
CR CONFIG3 LL_RNG_GetConfig
CR CLKDIV LL_RNG_GetConfig
CR NISTC LL_RNG_GetConfig
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Return – the configuration value
-
void
LL_RNG_Enable
(
RNG_TypeDef
*
rngx
)
¶
- group RNG_LL_EF_Configuration
-
Functions
-
void
LL_RNG_Enable
(
RNG_TypeDef
*
rngx
)
-
Enable Random Number Generation.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNGEN LL_RNG_Enable
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_Disable
(
RNG_TypeDef
*
rngx
)
-
Disable Random Number Generation.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNGEN LL_RNG_Disable
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabled
(
const
RNG_TypeDef
*
rngx
)
-
Check if Random Number Generator is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNGEN LL_RNG_IsEnabled
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableClkErrorDetect
(
RNG_TypeDef
*
rngx
)
-
Enable Clock Error Detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CED LL_RNG_EnableClkErrorDetect
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableClkErrorDetect
(
RNG_TypeDef
*
rngx
)
-
Disable RNG Clock Error Detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CED LL_RNG_DisableClkErrorDetect
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledClkErrorDetect
(
const
RNG_TypeDef
*
rngx
)
-
Check if RNG Clock Error Detection is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CED LL_RNG_IsEnabledClkErrorDetect
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableCondReset
(
RNG_TypeDef
*
rngx
)
-
Set RNG Conditioning Soft Reset bit.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONDRST LL_RNG_EnableCondReset
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableCondReset
(
RNG_TypeDef
*
rngx
)
-
Reset RNG Conditioning Soft Reset bit.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONDRST LL_RNG_DisableCondReset
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledCondReset
(
const
RNG_TypeDef
*
rngx
)
-
Check if RNG Conditioning Soft Reset bit is set.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONDRST LL_RNG_IsEnabledCondReset
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_ConfigLock
(
RNG_TypeDef
*
rngx
)
-
Enable RNG Config Lock.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONFIGLOCK LL_RNG_ConfigLock
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsConfigLocked
(
const
RNG_TypeDef
*
rngx
)
-
Check if RNG Config Lock is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONFIGLOCK LL_RNG_IsConfigLocked
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableNistCompliance
(
RNG_TypeDef
*
rngx
)
-
Enable NIST Compliance.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR NISTC LL_RNG_EnableNistCompliance
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableNistCompliance
(
RNG_TypeDef
*
rngx
)
-
Disable NIST Compliance.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR NISTC LL_RNG_DisableNistCompliance
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledNistCompliance
(
const
RNG_TypeDef
*
rngx
)
-
Check if NIST Compliance is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR NISTC LL_RNG_IsEnabledNistCompliance
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_SetConfig1
(
RNG_TypeDef
*
rngx
,
uint32_t
config1
)
-
Set RNG Config1 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG1 LL_RNG_SetConfig1
- Parameters :
-
-
rngx – RNG Instance
-
config1 – Value between 0 and 0x3F
-
-
uint32_t
LL_RNG_GetConfig1
(
const
RNG_TypeDef
*
rngx
)
-
Get RNG Config1 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG1 LL_RNG_GetConfig1
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Returned – Value expressed on 6 bits : Value between 0 and 0x3F
-
void
LL_RNG_SetConfig2
(
RNG_TypeDef
*
rngx
,
uint32_t
config2
)
-
Set RNG Config2 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG2 LL_RNG_SetConfig2
- Parameters :
-
-
rngx – RNG Instance
-
config2 – Value between 0 and 0x7
-
-
uint32_t
LL_RNG_GetConfig2
(
const
RNG_TypeDef
*
rngx
)
-
Get RNG Config2 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG2 LL_RNG_GetConfig2
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Returned – Value expressed on 3 bits : Value between 0 and 0x7
-
void
LL_RNG_SetConfig3
(
RNG_TypeDef
*
rngx
,
uint32_t
config3
)
-
Set RNG Config3 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG3 LL_RNG_SetConfig3
- Parameters :
-
-
rngx – RNG Instance
-
config3 – Value between 0 and 0xF
-
-
uint32_t
LL_RNG_GetConfig3
(
const
RNG_TypeDef
*
rngx
)
-
Get RNG Config3 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG3 LL_RNG_GetConfig3
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Returned – Value expressed on 4 bits : Value between 0 and 0xF
-
void
LL_RNG_SetClockDivider
(
RNG_TypeDef
*
rngx
,
uint32_t
divider
)
-
Set RNG Clock divider factor.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CLKDIV LL_RNG_SetClockDivider
- Parameters :
-
-
rngx – RNG Instance
-
divider – can be one of the following values:
-
-
uint32_t
LL_RNG_GetClockDivider
(
const
RNG_TypeDef
*
rngx
)
-
Get RNG Clock divider factor.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CLKDIV LL_RNG_GetClockDivider
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_RNG_SetConfig
(
RNG_TypeDef
*
rngx
,
uint32_t
config
)
-
Set RNG configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONFIG1 LL_RNG_SetConfig
CR CONFIG2 LL_RNG_SetConfig
CR CONFIG3 LL_RNG_SetConfig
CR CLKDIV LL_RNG_SetConfig
CR NISTC LL_RNG_SetConfig
- Parameters :
-
-
rngx – RNG Instance
-
config – Specifies the configuration to be used
-
-
uint32_t
LL_RNG_GetConfig
(
const
RNG_TypeDef
*
rngx
)
-
Get RNG configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONFIG1 LL_RNG_GetConfig
CR CONFIG2 LL_RNG_GetConfig
CR CONFIG3 LL_RNG_GetConfig
CR CLKDIV LL_RNG_GetConfig
CR NISTC LL_RNG_GetConfig
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Return – the configuration value
-
void
LL_RNG_Enable
(
RNG_TypeDef
*
rngx
)
- group RNG_LL_EF_Configuration
-
Functions
-
void
LL_RNG_Enable
(
RNG_TypeDef
*
rngx
)
-
Enable Random Number Generation.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNGEN LL_RNG_Enable
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_Disable
(
RNG_TypeDef
*
rngx
)
-
Disable Random Number Generation.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNGEN LL_RNG_Disable
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabled
(
const
RNG_TypeDef
*
rngx
)
-
Check if Random Number Generator is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNGEN LL_RNG_IsEnabled
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableClkErrorDetect
(
RNG_TypeDef
*
rngx
)
-
Enable Clock Error Detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CED LL_RNG_EnableClkErrorDetect
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableClkErrorDetect
(
RNG_TypeDef
*
rngx
)
-
Disable RNG Clock Error Detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CED LL_RNG_DisableClkErrorDetect
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledClkErrorDetect
(
const
RNG_TypeDef
*
rngx
)
-
Check if RNG Clock Error Detection is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CED LL_RNG_IsEnabledClkErrorDetect
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableCondReset
(
RNG_TypeDef
*
rngx
)
-
Set RNG Conditioning Soft Reset bit.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONDRST LL_RNG_EnableCondReset
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableCondReset
(
RNG_TypeDef
*
rngx
)
-
Reset RNG Conditioning Soft Reset bit.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONDRST LL_RNG_DisableCondReset
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledCondReset
(
const
RNG_TypeDef
*
rngx
)
-
Check if RNG Conditioning Soft Reset bit is set.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONDRST LL_RNG_IsEnabledCondReset
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_ConfigLock
(
RNG_TypeDef
*
rngx
)
-
Enable RNG Config Lock.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONFIGLOCK LL_RNG_ConfigLock
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsConfigLocked
(
const
RNG_TypeDef
*
rngx
)
-
Check if RNG Config Lock is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONFIGLOCK LL_RNG_IsConfigLocked
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableNistCompliance
(
RNG_TypeDef
*
rngx
)
-
Enable NIST Compliance.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR NISTC LL_RNG_EnableNistCompliance
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableNistCompliance
(
RNG_TypeDef
*
rngx
)
-
Disable NIST Compliance.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR NISTC LL_RNG_DisableNistCompliance
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledNistCompliance
(
const
RNG_TypeDef
*
rngx
)
-
Check if NIST Compliance is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR NISTC LL_RNG_IsEnabledNistCompliance
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_SetConfig1
(
RNG_TypeDef
*
rngx
,
uint32_t
config1
)
-
Set RNG Config1 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG1 LL_RNG_SetConfig1
- Parameters :
-
-
rngx – RNG Instance
-
config1 – Value between 0 and 0x3F
-
-
uint32_t
LL_RNG_GetConfig1
(
const
RNG_TypeDef
*
rngx
)
-
Get RNG Config1 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG1 LL_RNG_GetConfig1
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Returned – Value expressed on 6 bits : Value between 0 and 0x3F
-
void
LL_RNG_SetConfig2
(
RNG_TypeDef
*
rngx
,
uint32_t
config2
)
-
Set RNG Config2 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG2 LL_RNG_SetConfig2
- Parameters :
-
-
rngx – RNG Instance
-
config2 – Value between 0 and 0x7
-
-
uint32_t
LL_RNG_GetConfig2
(
const
RNG_TypeDef
*
rngx
)
-
Get RNG Config2 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG2 LL_RNG_GetConfig2
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Returned – Value expressed on 3 bits : Value between 0 and 0x7
-
void
LL_RNG_SetConfig3
(
RNG_TypeDef
*
rngx
,
uint32_t
config3
)
-
Set RNG Config3 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG3 LL_RNG_SetConfig3
- Parameters :
-
-
rngx – RNG Instance
-
config3 – Value between 0 and 0xF
-
-
uint32_t
LL_RNG_GetConfig3
(
const
RNG_TypeDef
*
rngx
)
-
Get RNG Config3 Configuration field value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR RNG_CONFIG3 LL_RNG_GetConfig3
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Returned – Value expressed on 4 bits : Value between 0 and 0xF
-
void
LL_RNG_SetClockDivider
(
RNG_TypeDef
*
rngx
,
uint32_t
divider
)
-
Set RNG Clock divider factor.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CLKDIV LL_RNG_SetClockDivider
- Parameters :
-
-
rngx – RNG Instance
-
divider – can be one of the following values:
-
-
uint32_t
LL_RNG_GetClockDivider
(
const
RNG_TypeDef
*
rngx
)
-
Get RNG Clock divider factor.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CLKDIV LL_RNG_GetClockDivider
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_RNG_SetConfig
(
RNG_TypeDef
*
rngx
,
uint32_t
config
)
-
Set RNG configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONFIG1 LL_RNG_SetConfig
CR CONFIG2 LL_RNG_SetConfig
CR CONFIG3 LL_RNG_SetConfig
CR CLKDIV LL_RNG_SetConfig
CR NISTC LL_RNG_SetConfig
- Parameters :
-
-
rngx – RNG Instance
-
config – Specifies the configuration to be used
-
-
uint32_t
LL_RNG_GetConfig
(
const
RNG_TypeDef
*
rngx
)
-
Get RNG configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CONFIG1 LL_RNG_GetConfig
CR CONFIG2 LL_RNG_GetConfig
CR CONFIG3 LL_RNG_GetConfig
CR CLKDIV LL_RNG_GetConfig
CR NISTC LL_RNG_GetConfig
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Return – the configuration value
-
void
LL_RNG_Enable
(
RNG_TypeDef
*
rngx
)
FLAG Management ¶
- group RNG_LL_EF_FLAG_Management
-
Functions
-
uint32_t
LL_RNG_IsActiveFlag_DRDY
(
const
RNG_TypeDef
*
rngx
)
¶
-
Indicate if the RNG Data ready Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR DRDY LL_RNG_IsActiveFlag_DRDY
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_RNG_IsActiveFlag_CECS
(
const
RNG_TypeDef
*
rngx
)
¶
-
Indicate if the Clock Error Current Status Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR CECS LL_RNG_IsActiveFlag_CECS
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_RNG_IsActiveFlag_SECS
(
const
RNG_TypeDef
*
rngx
)
¶
-
Indicate if the Seed Error Current Status Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR SECS LL_RNG_IsActiveFlag_SECS
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_RNG_IsActiveFlag_CEIS
(
const
RNG_TypeDef
*
rngx
)
¶
-
Indicate if the Clock Error Interrupt Status Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR CEIS LL_RNG_IsActiveFlag_CEIS
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_RNG_IsActiveFlag_SEIS
(
const
RNG_TypeDef
*
rngx
)
¶
-
Indicate if the Seed Error Interrupt Status Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR SEIS LL_RNG_IsActiveFlag_SEIS
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_ClearFlag_CEIS
(
RNG_TypeDef
*
rngx
)
¶
-
Clear Clock Error interrupt Status (CEIS) Flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR CEIS LL_RNG_ClearFlag_CEIS
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_ClearFlag_SEIS
(
RNG_TypeDef
*
rngx
)
¶
-
Clear Seed Error interrupt Status (SEIS) Flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR SEIS LL_RNG_ClearFlag_SEIS
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsActiveFlag_DRDY
(
const
RNG_TypeDef
*
rngx
)
¶
- group RNG_LL_EF_FLAG_Management
-
Functions
-
uint32_t
LL_RNG_IsActiveFlag_DRDY
(
const
RNG_TypeDef
*
rngx
)
-
Indicate if the RNG Data ready Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR DRDY LL_RNG_IsActiveFlag_DRDY
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_RNG_IsActiveFlag_CECS
(
const
RNG_TypeDef
*
rngx
)
-
Indicate if the Clock Error Current Status Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR CECS LL_RNG_IsActiveFlag_CECS
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_RNG_IsActiveFlag_SECS
(
const
RNG_TypeDef
*
rngx
)
-
Indicate if the Seed Error Current Status Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR SECS LL_RNG_IsActiveFlag_SECS
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_RNG_IsActiveFlag_CEIS
(
const
RNG_TypeDef
*
rngx
)
-
Indicate if the Clock Error Interrupt Status Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR CEIS LL_RNG_IsActiveFlag_CEIS
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_RNG_IsActiveFlag_SEIS
(
const
RNG_TypeDef
*
rngx
)
-
Indicate if the Seed Error Interrupt Status Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR SEIS LL_RNG_IsActiveFlag_SEIS
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_ClearFlag_CEIS
(
RNG_TypeDef
*
rngx
)
-
Clear Clock Error interrupt Status (CEIS) Flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR CEIS LL_RNG_ClearFlag_CEIS
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_ClearFlag_SEIS
(
RNG_TypeDef
*
rngx
)
-
Clear Seed Error interrupt Status (SEIS) Flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR SEIS LL_RNG_ClearFlag_SEIS
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsActiveFlag_DRDY
(
const
RNG_TypeDef
*
rngx
)
- group RNG_LL_EF_FLAG_Management
-
Functions
-
uint32_t
LL_RNG_IsActiveFlag_DRDY
(
const
RNG_TypeDef
*
rngx
)
-
Indicate if the RNG Data ready Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR DRDY LL_RNG_IsActiveFlag_DRDY
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_RNG_IsActiveFlag_CECS
(
const
RNG_TypeDef
*
rngx
)
-
Indicate if the Clock Error Current Status Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR CECS LL_RNG_IsActiveFlag_CECS
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_RNG_IsActiveFlag_SECS
(
const
RNG_TypeDef
*
rngx
)
-
Indicate if the Seed Error Current Status Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR SECS LL_RNG_IsActiveFlag_SECS
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_RNG_IsActiveFlag_CEIS
(
const
RNG_TypeDef
*
rngx
)
-
Indicate if the Clock Error Interrupt Status Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR CEIS LL_RNG_IsActiveFlag_CEIS
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_RNG_IsActiveFlag_SEIS
(
const
RNG_TypeDef
*
rngx
)
-
Indicate if the Seed Error Interrupt Status Flag is set or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR SEIS LL_RNG_IsActiveFlag_SEIS
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_ClearFlag_CEIS
(
RNG_TypeDef
*
rngx
)
-
Clear Clock Error interrupt Status (CEIS) Flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR CEIS LL_RNG_ClearFlag_CEIS
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_ClearFlag_SEIS
(
RNG_TypeDef
*
rngx
)
-
Clear Seed Error interrupt Status (SEIS) Flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR SEIS LL_RNG_ClearFlag_SEIS
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsActiveFlag_DRDY
(
const
RNG_TypeDef
*
rngx
)
IT Management ¶
- group RNG_LL_EF_IT_Management
-
Functions
-
void
LL_RNG_EnableIT
(
RNG_TypeDef
*
rngx
)
¶
-
Enable Random Number Generator Interrupt. (applies for either Seed error, Clock Error or Data ready interrupts)
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR IE LL_RNG_EnableIT
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableIT
(
RNG_TypeDef
*
rngx
)
¶
-
Disable Random Number Generator Interrupt. (applies for either Seed error, Clock Error or Data ready interrupts)
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR IE LL_RNG_DisableIT
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledIT
(
const
RNG_TypeDef
*
rngx
)
¶
-
Check if Random Number Generator Interrupt is enabled. (applies for either Seed error, Clock Error or Data ready interrupts)
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR IE LL_RNG_IsEnabledIT
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableIT
(
RNG_TypeDef
*
rngx
)
¶
- group RNG_LL_EF_IT_Management
-
Functions
-
void
LL_RNG_EnableIT
(
RNG_TypeDef
*
rngx
)
-
Enable Random Number Generator Interrupt. (applies for either Seed error, Clock Error or Data ready interrupts)
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR IE LL_RNG_EnableIT
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableIT
(
RNG_TypeDef
*
rngx
)
-
Disable Random Number Generator Interrupt. (applies for either Seed error, Clock Error or Data ready interrupts)
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR IE LL_RNG_DisableIT
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledIT
(
const
RNG_TypeDef
*
rngx
)
-
Check if Random Number Generator Interrupt is enabled. (applies for either Seed error, Clock Error or Data ready interrupts)
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR IE LL_RNG_IsEnabledIT
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableIT
(
RNG_TypeDef
*
rngx
)
- group RNG_LL_EF_IT_Management
-
Functions
-
void
LL_RNG_EnableIT
(
RNG_TypeDef
*
rngx
)
-
Enable Random Number Generator Interrupt. (applies for either Seed error, Clock Error or Data ready interrupts)
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR IE LL_RNG_EnableIT
- Parameters :
-
rngx – RNG Instance
-
void
LL_RNG_DisableIT
(
RNG_TypeDef
*
rngx
)
-
Disable Random Number Generator Interrupt. (applies for either Seed error, Clock Error or Data ready interrupts)
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR IE LL_RNG_DisableIT
- Parameters :
-
rngx – RNG Instance
-
uint32_t
LL_RNG_IsEnabledIT
(
const
RNG_TypeDef
*
rngx
)
-
Check if Random Number Generator Interrupt is enabled. (applies for either Seed error, Clock Error or Data ready interrupts)
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR IE LL_RNG_IsEnabledIT
- Parameters :
-
rngx – RNG Instance
- Return values :
-
State – of bit (1 or 0).
-
void
LL_RNG_EnableIT
(
RNG_TypeDef
*
rngx
)
Data Management ¶
- group RNG_LL_EF_Data_Management
-
Functions
-
uint32_t
LL_RNG_ReadRandData32
(
const
RNG_TypeDef
*
rngx
)
¶
-
Return32-bit Random Number value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DR RNDATA LL_RNG_ReadRandData32
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Generated – 32-bit random value
-
uint32_t
LL_RNG_ReadRandData32
(
const
RNG_TypeDef
*
rngx
)
¶
- group RNG_LL_EF_Data_Management
-
Functions
-
uint32_t
LL_RNG_ReadRandData32
(
const
RNG_TypeDef
*
rngx
)
-
Return32-bit Random Number value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DR RNDATA LL_RNG_ReadRandData32
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Generated – 32-bit random value
-
uint32_t
LL_RNG_ReadRandData32
(
const
RNG_TypeDef
*
rngx
)
- group RNG_LL_EF_Data_Management
-
Functions
-
uint32_t
LL_RNG_ReadRandData32
(
const
RNG_TypeDef
*
rngx
)
-
Return32-bit Random Number value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DR RNDATA LL_RNG_ReadRandData32
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Generated – 32-bit random value
-
uint32_t
LL_RNG_ReadRandData32
(
const
RNG_TypeDef
*
rngx
)
Noise Source Configuration ¶
- group RNG_LL_EF_Noise_Source_Configuration
-
Functions
-
void
LL_RNG_SetOscNoiseSrc
(
RNG_TypeDef
*
rngx
,
uint32_t
osc
,
uint32_t
src
)
¶
-
Set RNG Noise Source Configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
NSCR NSCR LL_RNG_SetOscNoiseSrc
- Parameters :
-
-
rngx – RNG Instance
-
osc – be one of the following values:
-
src – can be one of the following values:
-
-
uint32_t
LL_RNG_GetOscNoiseSrc
(
const
RNG_TypeDef
*
rngx
,
uint32_t
osc
)
¶
-
Get RNG Noise Source Configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
NSCR NSCR LL_RNG_GetOscNoiseSrc
- Parameters :
-
-
rngx – RNG Instance
-
osc – be one of the following values:
-
- Return values :
-
can – be one of the following values:
-
void
LL_RNG_SetOscNoiseSrc
(
RNG_TypeDef
*
rngx
,
uint32_t
osc
,
uint32_t
src
)
¶
- group RNG_LL_EF_Noise_Source_Configuration
-
Functions
-
void
LL_RNG_SetOscNoiseSrc
(
RNG_TypeDef
*
rngx
,
uint32_t
osc
,
uint32_t
src
)
-
Set RNG Noise Source Configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
NSCR NSCR LL_RNG_SetOscNoiseSrc
- Parameters :
-
-
rngx – RNG Instance
-
osc – be one of the following values:
-
src – can be one of the following values:
-
-
uint32_t
LL_RNG_GetOscNoiseSrc
(
const
RNG_TypeDef
*
rngx
,
uint32_t
osc
)
-
Get RNG Noise Source Configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
NSCR NSCR LL_RNG_GetOscNoiseSrc
- Parameters :
-
-
rngx – RNG Instance
-
osc – be one of the following values:
-
- Return values :
-
can – be one of the following values:
-
void
LL_RNG_SetOscNoiseSrc
(
RNG_TypeDef
*
rngx
,
uint32_t
osc
,
uint32_t
src
)
- group RNG_LL_EF_Noise_Source_Configuration
-
Functions
-
void
LL_RNG_SetOscNoiseSrc
(
RNG_TypeDef
*
rngx
,
uint32_t
osc
,
uint32_t
src
)
-
Set RNG Noise Source Configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
NSCR NSCR LL_RNG_SetOscNoiseSrc
- Parameters :
-
-
rngx – RNG Instance
-
osc – be one of the following values:
-
src – can be one of the following values:
-
-
uint32_t
LL_RNG_GetOscNoiseSrc
(
const
RNG_TypeDef
*
rngx
,
uint32_t
osc
)
-
Get RNG Noise Source Configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
NSCR NSCR LL_RNG_GetOscNoiseSrc
- Parameters :
-
-
rngx – RNG Instance
-
osc – be one of the following values:
-
- Return values :
-
can – be one of the following values:
-
void
LL_RNG_SetOscNoiseSrc
(
RNG_TypeDef
*
rngx
,
uint32_t
osc
,
uint32_t
src
)
Health Test Control ¶
- group RNG_LL_EF_Health_Test_Control
-
Functions
-
void
LL_RNG_SetHealthConfig
(
RNG_TypeDef
*
rngx
,
uint32_t
htcfg
)
¶
-
Set RNG Health Test Control.
- Reference Manual to LL API cross reference (Register Field Functions)
-
HTCR HTCFG LL_RNG_SetHealthConfig
- Parameters :
-
-
rngx – RNG Instance
-
htcfg – can be values of 32 bits
-
-
uint32_t
LL_RNG_GetHealthConfig
(
const
RNG_TypeDef
*
rngx
)
¶
-
Get RNG Health Test Control.
- Reference Manual to LL API cross reference (Register Field Functions)
-
HTCR HTCFG LL_RNG_GetHealthConfig
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Return – 32-bit RNG Health Test configuration
-
void
LL_RNG_SetHealthConfig
(
RNG_TypeDef
*
rngx
,
uint32_t
htcfg
)
¶
- group RNG_LL_EF_Health_Test_Control
-
Functions
-
void
LL_RNG_SetHealthConfig
(
RNG_TypeDef
*
rngx
,
uint32_t
htcfg
)
-
Set RNG Health Test Control.
- Reference Manual to LL API cross reference (Register Field Functions)
-
HTCR HTCFG LL_RNG_SetHealthConfig
- Parameters :
-
-
rngx – RNG Instance
-
htcfg – can be values of 32 bits
-
-
uint32_t
LL_RNG_GetHealthConfig
(
const
RNG_TypeDef
*
rngx
)
-
Get RNG Health Test Control.
- Reference Manual to LL API cross reference (Register Field Functions)
-
HTCR HTCFG LL_RNG_GetHealthConfig
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Return – 32-bit RNG Health Test configuration
-
void
LL_RNG_SetHealthConfig
(
RNG_TypeDef
*
rngx
,
uint32_t
htcfg
)
- group RNG_LL_EF_Health_Test_Control
-
Functions
-
void
LL_RNG_SetHealthConfig
(
RNG_TypeDef
*
rngx
,
uint32_t
htcfg
)
-
Set RNG Health Test Control.
- Reference Manual to LL API cross reference (Register Field Functions)
-
HTCR HTCFG LL_RNG_SetHealthConfig
- Parameters :
-
-
rngx – RNG Instance
-
htcfg – can be values of 32 bits
-
-
uint32_t
LL_RNG_GetHealthConfig
(
const
RNG_TypeDef
*
rngx
)
-
Get RNG Health Test Control.
- Reference Manual to LL API cross reference (Register Field Functions)
-
HTCR HTCFG LL_RNG_GetHealthConfig
- Parameters :
-
rngx – RNG Instance
- Return values :
-
Return – 32-bit RNG Health Test configuration
-
void
LL_RNG_SetHealthConfig
(
RNG_TypeDef
*
rngx
,
uint32_t
htcfg
)