TAMP Exported Functions ¶
Tamper ¶
- group TAMP_LL_EF_Tamper
-
Functions
-
void
LL_TAMP_Enable
(
uint32_t
Tampers
)
¶
-
Enable TAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_Enable
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
-
void
LL_TAMP_Disable
(
uint32_t
Tampers
)
¶
-
Clear TAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_Disable
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
-
uint32_t
LL_TAMP_GetEnabled
(
uint32_t
Tampers
)
¶
-
Get TAMPx that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_GetEnabled
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
- Return values :
-
State – of the tampers enable.
-
void
LL_TAMP_EnableIT
(
uint32_t
TampersIT
)
¶
-
Enable TAMPx interruption.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_EnableIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
-
void
LL_TAMP_DisableIT
(
uint32_t
TampersIT
)
¶
-
Disable TAMPx interruption.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_DisableIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
-
uint32_t
LL_TAMP_IsEnabledIT
(
uint32_t
TampersIT
)
¶
-
Get TAMPx interruption that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_IsEnabledIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
- Return values :
-
State – of the tampers interruption enable (1 enabled / 0 disabled).
-
void
LL_TAMP_EnableMask
(
uint32_t
Mask
)
¶
-
Enable Tamper mask flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_EnableMask
Note
Associated Tamper IT must not enabled when tamper mask is set.
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
-
void
LL_TAMP_DisableMask
(
uint32_t
Mask
)
¶
-
Disable Tamper mask flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_DisableMask
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
-
uint32_t
LL_TAMP_GetMasked
(
uint32_t
Mask
)
¶
-
Get TAMPx mask flag that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_GetMasked
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
- Return values :
-
State – of the tampers mask flag enable.
-
void
LL_TAMP_EnablePotentialMode
(
uint32_t
Tamper
)
¶
-
Enable TAMPx potential mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxNOERASE LL_TAMP_EnablePotentialMode
Note
In potential mode, the backup registers and devices secret can be blocked instead of erased. See TAMP interconnection table for more information.
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
-
void
LL_TAMP_DisablePotentialMode
(
uint32_t
Tamper
)
¶
-
Disable TAMPx potential mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxNOERASE LL_TAMP_DisablePotentialMode
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
-
uint32_t
LL_TAMP_IsEnabledPotentialMode
(
uint32_t
Tamper
)
¶
-
Check if the TAMPx potential mode is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxNOERASE LL_TAMP_IsEnabledPotentialMode
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
- Return values :
-
State – of TAMPx potential mode (1 enabled / 0 disabled).
-
void
LL_TAMP_SetConfig
(
uint32_t
Pullup
,
uint32_t
Precharge
,
uint32_t
FilterCounter
,
uint32_t
SampleFrequency
)
¶
-
Configure global tamper parameters.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_SetConfig
TAMP_FLTCR TAMPPRCH LL_TAMP_SetConfig
TAMP_FLTCR TAMPFREQ LL_TAMP_SetConfig
TAMP_FLTCR TAMPFLT LL_TAMP_SetConfig
- Parameters :
-
-
Pullup – pull-up (precharge of TAMP pins) can be one of the following values:
-
Precharge – time duration of the precharge can be one of the following values:
-
FilterCounter – filter counter, can be one of the following values:
-
SampleFrequency – sample frequency, can be one of the following values:
-
-
uint32_t
LL_TAMP_GetConfig
(
void
)
¶
-
Retrieve the global tamper parameters configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_GetConfig
TAMP_FLTCR TAMPPRCH LL_TAMP_GetConfig
TAMP_FLTCR TAMPFREQ LL_TAMP_GetConfig
TAMP_FLTCR TAMPFLT LL_TAMP_GetConfig
- Return values :
-
Combined – values of the pull-up precharge, precharge duration, sample frequency and filter
-
void
LL_TAMP_SetConfigTampers
(
uint32_t
Tampers
,
uint32_t
Trigger
,
uint32_t
EraseSecrets
,
uint32_t
Masked
)
¶
-
Configure one or multiple tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_SetConfigTampers
TAMP_CR2 TAMPxMSK LL_TAMP_SetConfigTampers
TAMP_CR2 TAMPxNOERASE LL_TAMP_SetConfigTampers
- Parameters :
-
-
Tampers – tampers can be one of the group values TAMPER
-
Trigger – trigger mode, can be one of the following values:
-
EraseSecrets – tamper mode, can be one of the following values:
-
Masked – tamper masked, can be one of the following values:
-
-
uint32_t
LL_TAMP_GetConfigTampers
(
uint32_t
Tampers
)
¶
-
Retrieve one configuration tamper.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_GetConfigTampers
TAMP_CR2 TAMPxMSK LL_TAMP_GetConfigTampers
TAMP_CR2 TAMPxNOERASE LL_TAMP_GetConfigTampers
- Parameters :
-
Tampers – tampers can be one of the group values TAMPER
- Return values :
-
Combined – values of the tamper masked, mode and trigger mode.
-
void
LL_TAMP_EnablePullUp
(
void
)
¶
-
Enable TAMPx pull-up (Precharge TAMPx pins before sampling)
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_EnablePullUp
-
void
LL_TAMP_DisablePullUp
(
void
)
¶
-
Disable TAMPx pull-up (Disable precharge of TAMPx pins)
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_DisablePullUp
-
uint32_t
LL_TAMP_IsEnabledPullUp
(
void
)
¶
-
Check if the TAMPx pull-up is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_IsEnabledPullUp
- Return values :
-
State – of TAMPx pull-up (1 enabled / 0 disabled).
-
void
LL_TAMP_SetPrecharge
(
uint32_t
Duration
)
¶
-
Set TAMPx precharge duration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPRCH LL_TAMP_SetPrecharge
- Parameters :
-
Duration – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetPrecharge
(
void
)
¶
-
Get TAMPx precharge duration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPRCH LL_TAMP_GetPrecharge
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_SetFilterCount
(
uint32_t
FilterCount
)
¶
-
Set TAMPx filter count.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFLT LL_TAMP_SetFilterCount
- Parameters :
-
FilterCount – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetFilterCount
(
void
)
¶
-
Get TAMPx filter count.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFLT LL_TAMP_GetFilterCount
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_SetSamplingFreq
(
uint32_t
SamplingFreq
)
¶
-
Set Tamper sampling frequency.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFREQ LL_TAMP_SetSamplingFreq
- Parameters :
-
SamplingFreq – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetSamplingFreq
(
void
)
¶
-
Get Tamper sampling frequency.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFREQ LL_TAMP_GetSamplingFreq
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_EnableActiveLevel
(
uint32_t
Tamper
)
¶
-
Enable Active level for Tamper input.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_EnableActiveLevel
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER ACTIVE LEVEL
-
void
LL_TAMP_DisableActiveLevel
(
uint32_t
Tamper
)
¶
-
Disable Active level for Tamper input.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_DisableActiveLevel
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER ACTIVE LEVEL
-
uint32_t
LL_TAMP_IsEnabledActiveLevel
(
uint32_t
Tamper
)
¶
-
Check if the TAMPx Active level is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_IsEnabledActiveLevel
- Parameters :
-
Tamper – This parameter can be a one of the group values TAMPER ACTIVE LEVEL
- Return values :
-
State – of TAMPx Active level (1 enabled / 0 disabled).
-
void
LL_TAMP_Enable
(
uint32_t
Tampers
)
¶
- group TAMP_LL_EF_Tamper
-
Functions
-
void
LL_TAMP_Enable
(
uint32_t
Tampers
)
-
Enable TAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_Enable
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
-
void
LL_TAMP_Disable
(
uint32_t
Tampers
)
-
Clear TAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_Disable
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
-
uint32_t
LL_TAMP_GetEnabled
(
uint32_t
Tampers
)
-
Get TAMPx that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_GetEnabled
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
- Return values :
-
State – of the tampers enable.
-
void
LL_TAMP_EnableIT
(
uint32_t
TampersIT
)
-
Enable TAMPx interruption.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_EnableIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
-
void
LL_TAMP_DisableIT
(
uint32_t
TampersIT
)
-
Disable TAMPx interruption.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_DisableIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
-
uint32_t
LL_TAMP_IsEnabledIT
(
uint32_t
TampersIT
)
-
Get TAMPx interruption that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_IsEnabledIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
- Return values :
-
State – of the tampers interruption enable (1 enabled / 0 disabled).
-
void
LL_TAMP_EnableMask
(
uint32_t
Mask
)
-
Enable Tamper mask flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_EnableMask
Note
Associated Tamper IT must not enabled when tamper mask is set.
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
-
void
LL_TAMP_DisableMask
(
uint32_t
Mask
)
-
Disable Tamper mask flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_DisableMask
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
-
uint32_t
LL_TAMP_GetMasked
(
uint32_t
Mask
)
-
Get TAMPx mask flag that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_GetMasked
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
- Return values :
-
State – of the tampers mask flag enable.
-
void
LL_TAMP_EnablePotentialMode
(
uint32_t
Tamper
)
-
Enable TAMPx potential mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxNOERASE LL_TAMP_EnablePotentialMode
Note
In potential mode, the backup registers and devices secret can be blocked instead of erased. See TAMP interconnection table for more information.
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
-
void
LL_TAMP_DisablePotentialMode
(
uint32_t
Tamper
)
-
Disable TAMPx potential mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxNOERASE LL_TAMP_DisablePotentialMode
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
-
uint32_t
LL_TAMP_IsEnabledPotentialMode
(
uint32_t
Tamper
)
-
Check if the TAMPx potential mode is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxNOERASE LL_TAMP_IsEnabledPotentialMode
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
- Return values :
-
State – of TAMPx potential mode (1 enabled / 0 disabled).
-
void
LL_TAMP_SetConfig
(
uint32_t
Pullup
,
uint32_t
Precharge
,
uint32_t
FilterCounter
,
uint32_t
SampleFrequency
)
-
Configure global tamper parameters.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_SetConfig
TAMP_FLTCR TAMPPRCH LL_TAMP_SetConfig
TAMP_FLTCR TAMPFREQ LL_TAMP_SetConfig
TAMP_FLTCR TAMPFLT LL_TAMP_SetConfig
- Parameters :
-
-
Pullup – pull-up (precharge of TAMP pins) can be one of the following values:
-
Precharge – time duration of the precharge can be one of the following values:
-
FilterCounter – filter counter, can be one of the following values:
-
SampleFrequency – sample frequency, can be one of the following values:
-
-
uint32_t
LL_TAMP_GetConfig
(
void
)
-
Retrieve the global tamper parameters configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_GetConfig
TAMP_FLTCR TAMPPRCH LL_TAMP_GetConfig
TAMP_FLTCR TAMPFREQ LL_TAMP_GetConfig
TAMP_FLTCR TAMPFLT LL_TAMP_GetConfig
- Return values :
-
Combined – values of the pull-up precharge, precharge duration, sample frequency and filter
-
void
LL_TAMP_SetConfigTampers
(
uint32_t
Tampers
,
uint32_t
Trigger
,
uint32_t
EraseSecrets
,
uint32_t
Masked
)
-
Configure one or multiple tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_SetConfigTampers
TAMP_CR2 TAMPxMSK LL_TAMP_SetConfigTampers
TAMP_CR2 TAMPxNOERASE LL_TAMP_SetConfigTampers
- Parameters :
-
-
Tampers – tampers can be one of the group values TAMPER
-
Trigger – trigger mode, can be one of the following values:
-
EraseSecrets – tamper mode, can be one of the following values:
-
Masked – tamper masked, can be one of the following values:
-
-
uint32_t
LL_TAMP_GetConfigTampers
(
uint32_t
Tampers
)
-
Retrieve one configuration tamper.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_GetConfigTampers
TAMP_CR2 TAMPxMSK LL_TAMP_GetConfigTampers
TAMP_CR2 TAMPxNOERASE LL_TAMP_GetConfigTampers
- Parameters :
-
Tampers – tampers can be one of the group values TAMPER
- Return values :
-
Combined – values of the tamper masked, mode and trigger mode.
-
void
LL_TAMP_EnablePullUp
(
void
)
-
Enable TAMPx pull-up (Precharge TAMPx pins before sampling)
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_EnablePullUp
-
void
LL_TAMP_DisablePullUp
(
void
)
-
Disable TAMPx pull-up (Disable precharge of TAMPx pins)
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_DisablePullUp
-
uint32_t
LL_TAMP_IsEnabledPullUp
(
void
)
-
Check if the TAMPx pull-up is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_IsEnabledPullUp
- Return values :
-
State – of TAMPx pull-up (1 enabled / 0 disabled).
-
void
LL_TAMP_SetPrecharge
(
uint32_t
Duration
)
-
Set TAMPx precharge duration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPRCH LL_TAMP_SetPrecharge
- Parameters :
-
Duration – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetPrecharge
(
void
)
-
Get TAMPx precharge duration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPRCH LL_TAMP_GetPrecharge
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_SetFilterCount
(
uint32_t
FilterCount
)
-
Set TAMPx filter count.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFLT LL_TAMP_SetFilterCount
- Parameters :
-
FilterCount – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetFilterCount
(
void
)
-
Get TAMPx filter count.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFLT LL_TAMP_GetFilterCount
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_SetSamplingFreq
(
uint32_t
SamplingFreq
)
-
Set Tamper sampling frequency.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFREQ LL_TAMP_SetSamplingFreq
- Parameters :
-
SamplingFreq – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetSamplingFreq
(
void
)
-
Get Tamper sampling frequency.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFREQ LL_TAMP_GetSamplingFreq
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_EnableActiveLevel
(
uint32_t
Tamper
)
-
Enable Active level for Tamper input.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_EnableActiveLevel
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER ACTIVE LEVEL
-
void
LL_TAMP_DisableActiveLevel
(
uint32_t
Tamper
)
-
Disable Active level for Tamper input.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_DisableActiveLevel
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER ACTIVE LEVEL
-
uint32_t
LL_TAMP_IsEnabledActiveLevel
(
uint32_t
Tamper
)
-
Check if the TAMPx Active level is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_IsEnabledActiveLevel
- Parameters :
-
Tamper – This parameter can be a one of the group values TAMPER ACTIVE LEVEL
- Return values :
-
State – of TAMPx Active level (1 enabled / 0 disabled).
-
void
LL_TAMP_Enable
(
uint32_t
Tampers
)
- group TAMP_LL_EF_Tamper
-
Functions
-
void
LL_TAMP_Enable
(
uint32_t
Tampers
)
-
Enable TAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_Enable
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
-
void
LL_TAMP_Disable
(
uint32_t
Tampers
)
-
Clear TAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_Disable
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
-
uint32_t
LL_TAMP_GetEnabled
(
uint32_t
Tampers
)
-
Get TAMPx that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_GetEnabled
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
- Return values :
-
State – of the tampers enable.
-
void
LL_TAMP_EnableIT
(
uint32_t
TampersIT
)
-
Enable TAMPx interruption.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_EnableIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
-
void
LL_TAMP_DisableIT
(
uint32_t
TampersIT
)
-
Disable TAMPx interruption.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_DisableIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
-
uint32_t
LL_TAMP_IsEnabledIT
(
uint32_t
TampersIT
)
-
Get TAMPx interruption that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_IsEnabledIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
- Return values :
-
State – of the tampers interruption enable (1 enabled / 0 disabled).
-
void
LL_TAMP_EnableMask
(
uint32_t
Mask
)
-
Enable Tamper mask flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_EnableMask
Note
Associated Tamper IT must not enabled when tamper mask is set.
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
-
void
LL_TAMP_DisableMask
(
uint32_t
Mask
)
-
Disable Tamper mask flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_DisableMask
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
-
uint32_t
LL_TAMP_GetMasked
(
uint32_t
Mask
)
-
Get TAMPx mask flag that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_GetMasked
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
- Return values :
-
State – of the tampers mask flag enable.
-
void
LL_TAMP_EnablePotentialMode
(
uint32_t
Tamper
)
-
Enable TAMPx potential mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxNOERASE LL_TAMP_EnablePotentialMode
Note
In potential mode, the backup registers and devices secret can be blocked instead of erased. See TAMP interconnection table for more information.
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
-
void
LL_TAMP_DisablePotentialMode
(
uint32_t
Tamper
)
-
Disable TAMPx potential mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxNOERASE LL_TAMP_DisablePotentialMode
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
-
uint32_t
LL_TAMP_IsEnabledPotentialMode
(
uint32_t
Tamper
)
-
Check if the TAMPx potential mode is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxNOERASE LL_TAMP_IsEnabledPotentialMode
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
- Return values :
-
State – of TAMPx potential mode (1 enabled / 0 disabled).
-
void
LL_TAMP_SetConfig
(
uint32_t
Pullup
,
uint32_t
Precharge
,
uint32_t
FilterCounter
,
uint32_t
SampleFrequency
)
-
Configure global tamper parameters.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_SetConfig
TAMP_FLTCR TAMPPRCH LL_TAMP_SetConfig
TAMP_FLTCR TAMPFREQ LL_TAMP_SetConfig
TAMP_FLTCR TAMPFLT LL_TAMP_SetConfig
- Parameters :
-
-
Pullup – pull-up (precharge of TAMP pins) can be one of the following values:
-
Precharge – time duration of the precharge can be one of the following values:
-
FilterCounter – filter counter, can be one of the following values:
-
SampleFrequency – sample frequency, can be one of the following values:
-
-
uint32_t
LL_TAMP_GetConfig
(
void
)
-
Retrieve the global tamper parameters configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_GetConfig
TAMP_FLTCR TAMPPRCH LL_TAMP_GetConfig
TAMP_FLTCR TAMPFREQ LL_TAMP_GetConfig
TAMP_FLTCR TAMPFLT LL_TAMP_GetConfig
- Return values :
-
Combined – values of the pull-up precharge, precharge duration, sample frequency and filter
-
void
LL_TAMP_SetConfigTampers
(
uint32_t
Tampers
,
uint32_t
Trigger
,
uint32_t
EraseSecrets
,
uint32_t
Masked
)
-
Configure one or multiple tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_SetConfigTampers
TAMP_CR2 TAMPxMSK LL_TAMP_SetConfigTampers
TAMP_CR2 TAMPxNOERASE LL_TAMP_SetConfigTampers
- Parameters :
-
-
Tampers – tampers can be one of the group values TAMPER
-
Trigger – trigger mode, can be one of the following values:
-
EraseSecrets – tamper mode, can be one of the following values:
-
Masked – tamper masked, can be one of the following values:
-
-
uint32_t
LL_TAMP_GetConfigTampers
(
uint32_t
Tampers
)
-
Retrieve one configuration tamper.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_GetConfigTampers
TAMP_CR2 TAMPxMSK LL_TAMP_GetConfigTampers
TAMP_CR2 TAMPxNOERASE LL_TAMP_GetConfigTampers
- Parameters :
-
Tampers – tampers can be one of the group values TAMPER
- Return values :
-
Combined – values of the tamper masked, mode and trigger mode.
-
void
LL_TAMP_EnablePullUp
(
void
)
-
Enable TAMPx pull-up (Precharge TAMPx pins before sampling)
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_EnablePullUp
-
void
LL_TAMP_DisablePullUp
(
void
)
-
Disable TAMPx pull-up (Disable precharge of TAMPx pins)
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_DisablePullUp
-
uint32_t
LL_TAMP_IsEnabledPullUp
(
void
)
-
Check if the TAMPx pull-up is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_IsEnabledPullUp
- Return values :
-
State – of TAMPx pull-up (1 enabled / 0 disabled).
-
void
LL_TAMP_SetPrecharge
(
uint32_t
Duration
)
-
Set TAMPx precharge duration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPRCH LL_TAMP_SetPrecharge
- Parameters :
-
Duration – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetPrecharge
(
void
)
-
Get TAMPx precharge duration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPRCH LL_TAMP_GetPrecharge
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_SetFilterCount
(
uint32_t
FilterCount
)
-
Set TAMPx filter count.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFLT LL_TAMP_SetFilterCount
- Parameters :
-
FilterCount – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetFilterCount
(
void
)
-
Get TAMPx filter count.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFLT LL_TAMP_GetFilterCount
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_SetSamplingFreq
(
uint32_t
SamplingFreq
)
-
Set Tamper sampling frequency.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFREQ LL_TAMP_SetSamplingFreq
- Parameters :
-
SamplingFreq – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetSamplingFreq
(
void
)
-
Get Tamper sampling frequency.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFREQ LL_TAMP_GetSamplingFreq
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_EnableActiveLevel
(
uint32_t
Tamper
)
-
Enable Active level for Tamper input.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_EnableActiveLevel
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER ACTIVE LEVEL
-
void
LL_TAMP_DisableActiveLevel
(
uint32_t
Tamper
)
-
Disable Active level for Tamper input.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_DisableActiveLevel
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER ACTIVE LEVEL
-
uint32_t
LL_TAMP_IsEnabledActiveLevel
(
uint32_t
Tamper
)
-
Check if the TAMPx Active level is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_IsEnabledActiveLevel
- Parameters :
-
Tamper – This parameter can be a one of the group values TAMPER ACTIVE LEVEL
- Return values :
-
State – of TAMPx Active level (1 enabled / 0 disabled).
-
void
LL_TAMP_Enable
(
uint32_t
Tampers
)
Internal Tamper ¶
- group TAMP_LL_EF_Internal_Tamper
-
Functions
-
void
LL_TAMP_SetConfigInternalTampers
(
uint32_t
InternalTampers
,
uint32_t
EraseSecrets
)
¶
-
Configure one or multiple internal tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR3 ITAMPxNOERASE LL_TAMP_SetConfigInternalTampers
- Parameters :
-
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
EraseSecrets – tamper mode, can be one of the following values:
-
-
uint32_t
LL_TAMP_GetConfigInternalTampers
(
uint32_t
InternalTampers
)
¶
-
Retrieve one configuration internal tamper.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR3 ITAMPxNOERASE LL_TAMP_GetConfigInternalTampers
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
- Return values :
-
Values – of the select internal tampers no erase mode.
-
void
LL_TAMP_ITAMP_Enable
(
uint32_t
InternalTampers
)
¶
-
Enable ITAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_Enable
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
void
LL_TAMP_ITAMP_Disable
(
uint32_t
InternalTampers
)
¶
-
Disable ITAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_Disable
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
uint32_t
LL_TAMP_ITAMP_GetEnabled
(
uint32_t
InternalTampers
)
¶
-
Get ITAMPx that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_GetEnabled
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ITAMP_EnableIT
(
uint32_t
InternalTampersIT
)
¶
-
Enable ITAMPx input detection interruption.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_EnableIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
-
void
LL_TAMP_ITAMP_DisableIT
(
uint32_t
InternalTampersIT
)
¶
-
Clear ITAMPx input detection interruption.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_DisableIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
-
uint32_t
LL_TAMP_ITAMP_IsEnabledIT
(
uint32_t
InternalTampersIT
)
¶
-
Get ITAMPx interruption that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_IsEnabledIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_SetConfigInternalTampers
(
uint32_t
InternalTampers
,
uint32_t
EraseSecrets
)
¶
- group TAMP_LL_EF_Internal_Tamper
-
Functions
-
void
LL_TAMP_SetConfigInternalTampers
(
uint32_t
InternalTampers
,
uint32_t
EraseSecrets
)
-
Configure one or multiple internal tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR3 ITAMPxNOERASE LL_TAMP_SetConfigInternalTampers
- Parameters :
-
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
EraseSecrets – tamper mode, can be one of the following values:
-
-
uint32_t
LL_TAMP_GetConfigInternalTampers
(
uint32_t
InternalTampers
)
-
Retrieve one configuration internal tamper.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR3 ITAMPxNOERASE LL_TAMP_GetConfigInternalTampers
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
- Return values :
-
Values – of the select internal tampers no erase mode.
-
void
LL_TAMP_ITAMP_Enable
(
uint32_t
InternalTampers
)
-
Enable ITAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_Enable
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
void
LL_TAMP_ITAMP_Disable
(
uint32_t
InternalTampers
)
-
Disable ITAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_Disable
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
uint32_t
LL_TAMP_ITAMP_GetEnabled
(
uint32_t
InternalTampers
)
-
Get ITAMPx that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_GetEnabled
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ITAMP_EnableIT
(
uint32_t
InternalTampersIT
)
-
Enable ITAMPx input detection interruption.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_EnableIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
-
void
LL_TAMP_ITAMP_DisableIT
(
uint32_t
InternalTampersIT
)
-
Clear ITAMPx input detection interruption.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_DisableIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
-
uint32_t
LL_TAMP_ITAMP_IsEnabledIT
(
uint32_t
InternalTampersIT
)
-
Get ITAMPx interruption that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_IsEnabledIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_SetConfigInternalTampers
(
uint32_t
InternalTampers
,
uint32_t
EraseSecrets
)
- group TAMP_LL_EF_Internal_Tamper
-
Functions
-
void
LL_TAMP_SetConfigInternalTampers
(
uint32_t
InternalTampers
,
uint32_t
EraseSecrets
)
-
Configure one or multiple internal tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR3 ITAMPxNOERASE LL_TAMP_SetConfigInternalTampers
- Parameters :
-
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
EraseSecrets – tamper mode, can be one of the following values:
-
-
uint32_t
LL_TAMP_GetConfigInternalTampers
(
uint32_t
InternalTampers
)
-
Retrieve one configuration internal tamper.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR3 ITAMPxNOERASE LL_TAMP_GetConfigInternalTampers
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
- Return values :
-
Values – of the select internal tampers no erase mode.
-
void
LL_TAMP_ITAMP_Enable
(
uint32_t
InternalTampers
)
-
Enable ITAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_Enable
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
void
LL_TAMP_ITAMP_Disable
(
uint32_t
InternalTampers
)
-
Disable ITAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_Disable
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
uint32_t
LL_TAMP_ITAMP_GetEnabled
(
uint32_t
InternalTampers
)
-
Get ITAMPx that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_GetEnabled
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ITAMP_EnableIT
(
uint32_t
InternalTampersIT
)
-
Enable ITAMPx input detection interruption.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_EnableIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
-
void
LL_TAMP_ITAMP_DisableIT
(
uint32_t
InternalTampersIT
)
-
Clear ITAMPx input detection interruption.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_DisableIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
-
uint32_t
LL_TAMP_ITAMP_IsEnabledIT
(
uint32_t
InternalTampersIT
)
-
Get ITAMPx interruption that are enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_IsEnabledIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_SetConfigInternalTampers
(
uint32_t
InternalTampers
,
uint32_t
EraseSecrets
)
Active Tamper ¶
- group TAMP_LL_EF_Active_Tamper
-
Functions
-
void
LL_TAMP_ATAMP_EnableActiveMode
(
uint32_t
Tampers
)
¶
-
Enable tamper active mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 TAMPxAM LL_TAMP_ATAMP_EnableActiveMode
- Parameters :
-
Tampers – to configure as active. This parameter can be a combination of
-
void
LL_TAMP_ATAMP_DisableActiveMode
(
uint32_t
Tampers
)
¶
-
Disable tamper active mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 TAMPxAM LL_TAMP_ATAMP_DisableActiveMode
- Parameters :
-
Tampers – to configure as active. This parameter can be a combination of
-
uint32_t
LL_TAMP_ATAMP_GetActiveMode
(
void
)
¶
-
Retrieve the active tampers configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 TAMPxM LL_TAMP_ATAMP_GetActive
- Return values :
-
Combined – values of the active tampers.
-
void
LL_TAMP_ATAMP_SetConfig
(
uint32_t
Filter
,
uint32_t
OutputPeriod
,
uint32_t
Shared
,
uint32_t
Prescaler
)
¶
-
Configure active tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_SetConfig
TAMP_ATCR1 ATPER LL_TAMP_ATAMP_SetConfig
TAMP_ATCR1 ATCKSEL LL_TAMP_ATAMP_SetConfig
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_SetConfig
-
uint32_t
LL_TAMP_ATAMP_GetConfig
(
void
)
¶
-
Retrieve the active tampers configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_GetConfig
TAMP_ATCR1 ATPER LL_TAMP_ATAMP_GetConfig
TAMP_ATCR1 ATCKSEL LL_TAMP_ATAMP_GetConfig
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_GetConfig
- Return values :
-
Combined – values of the filter, sharing, prescaler and output period of the active tampers.
-
void
LL_TAMP_ATAMP_EnableFilter
(
void
)
¶
-
Enable active tamper filter.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_EnableFilter
-
void
LL_TAMP_ATAMP_DisableFilter
(
void
)
¶
-
Disable active tamper filter.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_DisableFilter
-
uint32_t
LL_TAMP_ATAMP_IsEnabledFilter
(
void
)
¶
-
Check if active tamper filter is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_IsEnabledFilter
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ATAMP_SetOutputChangePeriod
(
uint32_t
ActiveOutputChangePeriod
)
¶
-
Set Active tamper output change period.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATPER LL_TAMP_ATAMP_SetOutputChangePeriod
- Parameters :
-
ActiveOutputChangePeriod – This parameter can be a value from 0 to 7
-
uint32_t
LL_TAMP_ATAMP_GetOutputChangePeriod
(
void
)
¶
-
Get Active tamper output change period.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATPER LL_TAMP_ATAMP_GetOutputChangePeriod
- Return values :
-
Output – change period. This parameter can be a value from 0 to 7.
-
void
LL_TAMP_ATAMP_SetAsyncPrescaler
(
uint32_t
ActiveAsynvPrescaler
)
¶
-
Set Active tamper asynchronous prescaler clock selection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATCKSEL LL_TAMP_ATAMP_SetAsyncPrescaler
- Parameters :
-
ActiveAsynvPrescaler – Specifies the Active Tamper asynchronous Prescaler clock. This parameter can be a value of the group ACTIVE TAMPER ASYNCHRONOUS PRESCALER CLOCK
-
uint32_t
LL_TAMP_ATAMP_GetAsyncPrescaler
(
void
)
¶
-
Get Active tamper asynchronous prescaler clock selection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATCKSEL LL_TAMP_ATAMP_GetAsyncPrescaler
- Return values :
-
void
LL_TAMP_ATAMP_EnableOutputSharing
(
void
)
¶
-
Enable active tamper output sharing.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_EnableOutputSharing
-
void
LL_TAMP_ATAMP_DisableOutputSharing
(
void
)
¶
-
Disable active tamper output sharing.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_DisableOutputSharing
-
uint32_t
LL_TAMP_ATAMP_IsEnabledOutputSharing
(
void
)
¶
-
Check if active tamper output sharing is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_IsEnabledOutputSharing
- Return values :
-
State – of bit (1 or 0).
-
Set Active tamper shared output.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR2 ATOSELx LL_TAMP_ATAMP_SetSharedOutputs
- Parameters :
-
-
OutputSelection – Specifies all the output selection of the Active Tamper. This parameter is a one of the group values ACTIVE TAMPER OUTPUT SELECTION
-
Positions – Specifies all the bits that need to be changed on the register ATCR2
-
-
Set Active tamper shared output selection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR2 ATOSELx LL_TAMP_ATAMP_SetSharedOutputSelection
- Parameters :
-
OutputSelection – Specifies all the output selection of the Active Tamper. This parameter is a one of the group values ACTIVE TAMPER OUTPUT SELECTION
-
Get Active tamper shared output selection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR2 ATOSELx LL_TAMP_ATAMP_GetSharedOutputSelection
- Return values :
-
A – combination of
-
void
LL_TAMP_ATAMP_WriteSeed
(
uint32_t
Seed
)
¶
-
Write active tamper seed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATSEEDR SEED LL_TAMP_ATAMP_WriteSeed
- Parameters :
-
Seed –
-
uint32_t
LL_TAMP_ReadPRNG
(
void
)
¶
-
Read pseudo-random generator value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATOR PRNG LL_TAMP_ReadPRNG
Note
: Because of potential inconsistencies due to synchronization delays, PRNG must be read at least twice.
- Return values :
-
Pseudo-random – generator value.
-
uint32_t
LL_TAMP_IsActiveFlag_ATAMP_INITS
(
void
)
¶
-
Get active tamper initialization status flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATOR INITS LL_TAMP_IsActiveFlag_ATAMP_INITS
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ATAMP_SEEDF
(
void
)
¶
-
Get active tamper seed running status flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATOR SEEDF LL_TAMP_IsActiveFlag_ATAMP_SEEDF
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ATAMP_EnableActiveMode
(
uint32_t
Tampers
)
¶
- group TAMP_LL_EF_Active_Tamper
-
Functions
-
void
LL_TAMP_ATAMP_EnableActiveMode
(
uint32_t
Tampers
)
-
Enable tamper active mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 TAMPxAM LL_TAMP_ATAMP_EnableActiveMode
- Parameters :
-
Tampers – to configure as active. This parameter can be a combination of
-
void
LL_TAMP_ATAMP_DisableActiveMode
(
uint32_t
Tampers
)
-
Disable tamper active mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 TAMPxAM LL_TAMP_ATAMP_DisableActiveMode
- Parameters :
-
Tampers – to configure as active. This parameter can be a combination of
-
uint32_t
LL_TAMP_ATAMP_GetActiveMode
(
void
)
-
Retrieve the active tampers configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 TAMPxM LL_TAMP_ATAMP_GetActive
- Return values :
-
Combined – values of the active tampers.
-
void
LL_TAMP_ATAMP_SetConfig
(
uint32_t
Filter
,
uint32_t
OutputPeriod
,
uint32_t
Shared
,
uint32_t
Prescaler
)
-
Configure active tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_SetConfig
TAMP_ATCR1 ATPER LL_TAMP_ATAMP_SetConfig
TAMP_ATCR1 ATCKSEL LL_TAMP_ATAMP_SetConfig
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_SetConfig
-
uint32_t
LL_TAMP_ATAMP_GetConfig
(
void
)
-
Retrieve the active tampers configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_GetConfig
TAMP_ATCR1 ATPER LL_TAMP_ATAMP_GetConfig
TAMP_ATCR1 ATCKSEL LL_TAMP_ATAMP_GetConfig
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_GetConfig
- Return values :
-
Combined – values of the filter, sharing, prescaler and output period of the active tampers.
-
void
LL_TAMP_ATAMP_EnableFilter
(
void
)
-
Enable active tamper filter.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_EnableFilter
-
void
LL_TAMP_ATAMP_DisableFilter
(
void
)
-
Disable active tamper filter.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_DisableFilter
-
uint32_t
LL_TAMP_ATAMP_IsEnabledFilter
(
void
)
-
Check if active tamper filter is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_IsEnabledFilter
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ATAMP_SetOutputChangePeriod
(
uint32_t
ActiveOutputChangePeriod
)
-
Set Active tamper output change period.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATPER LL_TAMP_ATAMP_SetOutputChangePeriod
- Parameters :
-
ActiveOutputChangePeriod – This parameter can be a value from 0 to 7
-
uint32_t
LL_TAMP_ATAMP_GetOutputChangePeriod
(
void
)
-
Get Active tamper output change period.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATPER LL_TAMP_ATAMP_GetOutputChangePeriod
- Return values :
-
Output – change period. This parameter can be a value from 0 to 7.
-
void
LL_TAMP_ATAMP_SetAsyncPrescaler
(
uint32_t
ActiveAsynvPrescaler
)
-
Set Active tamper asynchronous prescaler clock selection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATCKSEL LL_TAMP_ATAMP_SetAsyncPrescaler
- Parameters :
-
ActiveAsynvPrescaler – Specifies the Active Tamper asynchronous Prescaler clock. This parameter can be a value of the group ACTIVE TAMPER ASYNCHRONOUS PRESCALER CLOCK
-
uint32_t
LL_TAMP_ATAMP_GetAsyncPrescaler
(
void
)
-
Get Active tamper asynchronous prescaler clock selection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATCKSEL LL_TAMP_ATAMP_GetAsyncPrescaler
- Return values :
-
void
LL_TAMP_ATAMP_EnableOutputSharing
(
void
)
-
Enable active tamper output sharing.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_EnableOutputSharing
-
void
LL_TAMP_ATAMP_DisableOutputSharing
(
void
)
-
Disable active tamper output sharing.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_DisableOutputSharing
-
uint32_t
LL_TAMP_ATAMP_IsEnabledOutputSharing
(
void
)
-
Check if active tamper output sharing is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_IsEnabledOutputSharing
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ATAMP_SetSharedOutputs
(
uint32_t
Positions
,
uint32_t
OutputSelection
)
-
Set Active tamper shared output.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR2 ATOSELx LL_TAMP_ATAMP_SetSharedOutputs
- Parameters :
-
-
OutputSelection – Specifies all the output selection of the Active Tamper. This parameter is a one of the group values ACTIVE TAMPER OUTPUT SELECTION
-
Positions – Specifies all the bits that need to be changed on the register ATCR2
-
-
void
LL_TAMP_ATAMP_SetSharedOutputSelection
(
uint32_t
OutputSelection
)
-
Set Active tamper shared output selection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR2 ATOSELx LL_TAMP_ATAMP_SetSharedOutputSelection
- Parameters :
-
OutputSelection – Specifies all the output selection of the Active Tamper. This parameter is a one of the group values ACTIVE TAMPER OUTPUT SELECTION
-
uint32_t
LL_TAMP_ATAMP_GetSharedOutputSelection
(
void
)
-
Get Active tamper shared output selection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR2 ATOSELx LL_TAMP_ATAMP_GetSharedOutputSelection
- Return values :
-
A – combination of
-
void
LL_TAMP_ATAMP_WriteSeed
(
uint32_t
Seed
)
-
Write active tamper seed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATSEEDR SEED LL_TAMP_ATAMP_WriteSeed
- Parameters :
-
Seed –
-
uint32_t
LL_TAMP_ReadPRNG
(
void
)
-
Read pseudo-random generator value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATOR PRNG LL_TAMP_ReadPRNG
Note
: Because of potential inconsistencies due to synchronization delays, PRNG must be read at least twice.
- Return values :
-
Pseudo-random – generator value.
-
uint32_t
LL_TAMP_IsActiveFlag_ATAMP_INITS
(
void
)
-
Get active tamper initialization status flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATOR INITS LL_TAMP_IsActiveFlag_ATAMP_INITS
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ATAMP_SEEDF
(
void
)
-
Get active tamper seed running status flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATOR SEEDF LL_TAMP_IsActiveFlag_ATAMP_SEEDF
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ATAMP_EnableActiveMode
(
uint32_t
Tampers
)
- group TAMP_LL_EF_Active_Tamper
-
Functions
-
void
LL_TAMP_ATAMP_EnableActiveMode
(
uint32_t
Tampers
)
-
Enable tamper active mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 TAMPxAM LL_TAMP_ATAMP_EnableActiveMode
- Parameters :
-
Tampers – to configure as active. This parameter can be a combination of
-
void
LL_TAMP_ATAMP_DisableActiveMode
(
uint32_t
Tampers
)
-
Disable tamper active mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 TAMPxAM LL_TAMP_ATAMP_DisableActiveMode
- Parameters :
-
Tampers – to configure as active. This parameter can be a combination of
-
uint32_t
LL_TAMP_ATAMP_GetActiveMode
(
void
)
-
Retrieve the active tampers configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 TAMPxM LL_TAMP_ATAMP_GetActive
- Return values :
-
Combined – values of the active tampers.
-
void
LL_TAMP_ATAMP_SetConfig
(
uint32_t
Filter
,
uint32_t
OutputPeriod
,
uint32_t
Shared
,
uint32_t
Prescaler
)
-
Configure active tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_SetConfig
TAMP_ATCR1 ATPER LL_TAMP_ATAMP_SetConfig
TAMP_ATCR1 ATCKSEL LL_TAMP_ATAMP_SetConfig
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_SetConfig
-
uint32_t
LL_TAMP_ATAMP_GetConfig
(
void
)
-
Retrieve the active tampers configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_GetConfig
TAMP_ATCR1 ATPER LL_TAMP_ATAMP_GetConfig
TAMP_ATCR1 ATCKSEL LL_TAMP_ATAMP_GetConfig
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_GetConfig
- Return values :
-
Combined – values of the filter, sharing, prescaler and output period of the active tampers.
-
void
LL_TAMP_ATAMP_EnableFilter
(
void
)
-
Enable active tamper filter.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_EnableFilter
-
void
LL_TAMP_ATAMP_DisableFilter
(
void
)
-
Disable active tamper filter.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_DisableFilter
-
uint32_t
LL_TAMP_ATAMP_IsEnabledFilter
(
void
)
-
Check if active tamper filter is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 FLTEN LL_TAMP_ATAMP_IsEnabledFilter
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ATAMP_SetOutputChangePeriod
(
uint32_t
ActiveOutputChangePeriod
)
-
Set Active tamper output change period.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATPER LL_TAMP_ATAMP_SetOutputChangePeriod
- Parameters :
-
ActiveOutputChangePeriod – This parameter can be a value from 0 to 7
-
uint32_t
LL_TAMP_ATAMP_GetOutputChangePeriod
(
void
)
-
Get Active tamper output change period.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATPER LL_TAMP_ATAMP_GetOutputChangePeriod
- Return values :
-
Output – change period. This parameter can be a value from 0 to 7.
-
void
LL_TAMP_ATAMP_SetAsyncPrescaler
(
uint32_t
ActiveAsynvPrescaler
)
-
Set Active tamper asynchronous prescaler clock selection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATCKSEL LL_TAMP_ATAMP_SetAsyncPrescaler
- Parameters :
-
ActiveAsynvPrescaler – Specifies the Active Tamper asynchronous Prescaler clock. This parameter can be a value of the group ACTIVE TAMPER ASYNCHRONOUS PRESCALER CLOCK
-
uint32_t
LL_TAMP_ATAMP_GetAsyncPrescaler
(
void
)
-
Get Active tamper asynchronous prescaler clock selection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATCKSEL LL_TAMP_ATAMP_GetAsyncPrescaler
- Return values :
-
void
LL_TAMP_ATAMP_EnableOutputSharing
(
void
)
-
Enable active tamper output sharing.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_EnableOutputSharing
-
void
LL_TAMP_ATAMP_DisableOutputSharing
(
void
)
-
Disable active tamper output sharing.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_DisableOutputSharing
-
uint32_t
LL_TAMP_ATAMP_IsEnabledOutputSharing
(
void
)
-
Check if active tamper output sharing is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR1 ATOSHARE LL_TAMP_ATAMP_IsEnabledOutputSharing
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ATAMP_SetSharedOutputs
(
uint32_t
Positions
,
uint32_t
OutputSelection
)
-
Set Active tamper shared output.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR2 ATOSELx LL_TAMP_ATAMP_SetSharedOutputs
- Parameters :
-
-
OutputSelection – Specifies all the output selection of the Active Tamper. This parameter is a one of the group values ACTIVE TAMPER OUTPUT SELECTION
-
Positions – Specifies all the bits that need to be changed on the register ATCR2
-
-
void
LL_TAMP_ATAMP_SetSharedOutputSelection
(
uint32_t
OutputSelection
)
-
Set Active tamper shared output selection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR2 ATOSELx LL_TAMP_ATAMP_SetSharedOutputSelection
- Parameters :
-
OutputSelection – Specifies all the output selection of the Active Tamper. This parameter is a one of the group values ACTIVE TAMPER OUTPUT SELECTION
-
uint32_t
LL_TAMP_ATAMP_GetSharedOutputSelection
(
void
)
-
Get Active tamper shared output selection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATCR2 ATOSELx LL_TAMP_ATAMP_GetSharedOutputSelection
- Return values :
-
A – combination of
-
void
LL_TAMP_ATAMP_WriteSeed
(
uint32_t
Seed
)
-
Write active tamper seed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATSEEDR SEED LL_TAMP_ATAMP_WriteSeed
- Parameters :
-
Seed –
-
uint32_t
LL_TAMP_ReadPRNG
(
void
)
-
Read pseudo-random generator value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATOR PRNG LL_TAMP_ReadPRNG
Note
: Because of potential inconsistencies due to synchronization delays, PRNG must be read at least twice.
- Return values :
-
Pseudo-random – generator value.
-
uint32_t
LL_TAMP_IsActiveFlag_ATAMP_INITS
(
void
)
-
Get active tamper initialization status flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATOR INITS LL_TAMP_IsActiveFlag_ATAMP_INITS
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ATAMP_SEEDF
(
void
)
-
Get active tamper seed running status flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ATOR SEEDF LL_TAMP_IsActiveFlag_ATAMP_SEEDF
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ATAMP_EnableActiveMode
(
uint32_t
Tampers
)
Backup_Registers ¶
- group TAMP_LL_EF_Backup_Registers
-
Functions
-
void
LL_TAMP_BKP_SetRegister
(
uint32_t
BackupRegister
,
uint32_t
Data
)
¶
-
Writes a data in a specified Backup data register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_BKPxR BKP LL_TAMP_BKP_SetRegister
- Parameters :
-
-
BackupRegister – This parameter can be one of the group values BACKUP REGISTER
-
Data – Value between Min_Data=0x00 and Max_Data=0xFFFFFFFF
-
-
uint32_t
LL_TAMP_BKP_GetRegister
(
uint32_t
BackupRegister
)
¶
-
Reads data from the specified TAMP Backup data Register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_BKPxR BKP LL_TAMP_BKP_GetRegister
- Parameters :
-
BackupRegister – This parameter can be one of the group values BACKUP REGISTER
- Return values :
-
Value – between Min_Data=0x00 and Max_Data=0xFFFFFFFF
-
void
LL_TAMP_BKP_SetRegister
(
uint32_t
BackupRegister
,
uint32_t
Data
)
¶
- group TAMP_LL_EF_Backup_Registers
-
Functions
-
void
LL_TAMP_BKP_SetRegister
(
uint32_t
BackupRegister
,
uint32_t
Data
)
-
Writes a data in a specified Backup data register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_BKPxR BKP LL_TAMP_BKP_SetRegister
- Parameters :
-
-
BackupRegister – This parameter can be one of the group values BACKUP REGISTER
-
Data – Value between Min_Data=0x00 and Max_Data=0xFFFFFFFF
-
-
uint32_t
LL_TAMP_BKP_GetRegister
(
uint32_t
BackupRegister
)
-
Reads data from the specified TAMP Backup data Register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_BKPxR BKP LL_TAMP_BKP_GetRegister
- Parameters :
-
BackupRegister – This parameter can be one of the group values BACKUP REGISTER
- Return values :
-
Value – between Min_Data=0x00 and Max_Data=0xFFFFFFFF
-
void
LL_TAMP_BKP_SetRegister
(
uint32_t
BackupRegister
,
uint32_t
Data
)
- group TAMP_LL_EF_Backup_Registers
-
Functions
-
void
LL_TAMP_BKP_SetRegister
(
uint32_t
BackupRegister
,
uint32_t
Data
)
-
Writes a data in a specified Backup data register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_BKPxR BKP LL_TAMP_BKP_SetRegister
- Parameters :
-
-
BackupRegister – This parameter can be one of the group values BACKUP REGISTER
-
Data – Value between Min_Data=0x00 and Max_Data=0xFFFFFFFF
-
-
uint32_t
LL_TAMP_BKP_GetRegister
(
uint32_t
BackupRegister
)
-
Reads data from the specified TAMP Backup data Register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_BKPxR BKP LL_TAMP_BKP_GetRegister
- Parameters :
-
BackupRegister – This parameter can be one of the group values BACKUP REGISTER
- Return values :
-
Value – between Min_Data=0x00 and Max_Data=0xFFFFFFFF
-
void
LL_TAMP_BKP_SetRegister
(
uint32_t
BackupRegister
,
uint32_t
Data
)
FLAG_Management ¶
- group TAMP_LL_EF_FLAG_Management
-
Functions
-
uint32_t
LL_TAMP_IsActiveFlag_TAMP
(
uint32_t
Tampers
)
¶
-
Get tampers interrupt flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SR TAMPx LL_TAMP_IsActiveFlag_TAMP
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ITAMP
(
uint32_t
InternalTampers
)
¶
-
Get internal tampers interrupt flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SR ITAMPx LL_TAMP_IsActiveFlag_ITAMP
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_TAMPM
(
uint32_t
Tampers
)
¶
-
Get tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_MISR TAMPxMF LL_TAMP_IsActiveFlag_TAMPM
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ITAMPM
(
uint32_t
InternalTampers
)
¶
-
Get internal tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_MISR ITAMPxMF LL_TAMP_IsActiveFlag_ITAMPM
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ClearFlag_TAMP
(
uint32_t
Tampers
)
¶
-
Clear tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SCR CTAMPxF LL_TAMP_ClearFlag_TAMP
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
-
void
LL_TAMP_ClearFlag_ITAMP
(
uint32_t
InternalTampers
)
¶
-
Clear internal tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SCR CITAMPxF LL_TAMP_ClearFlag_ITAMP
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
-
uint32_t
LL_TAMP_IsActiveFlag_TAMP
(
uint32_t
Tampers
)
¶
- group TAMP_LL_EF_FLAG_Management
-
Functions
-
uint32_t
LL_TAMP_IsActiveFlag_TAMP
(
uint32_t
Tampers
)
-
Get tampers interrupt flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SR TAMPx LL_TAMP_IsActiveFlag_TAMP
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ITAMP
(
uint32_t
InternalTampers
)
-
Get internal tampers interrupt flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SR ITAMPx LL_TAMP_IsActiveFlag_ITAMP
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_TAMPM
(
uint32_t
Tampers
)
-
Get tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_MISR TAMPxMF LL_TAMP_IsActiveFlag_TAMPM
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ITAMPM
(
uint32_t
InternalTampers
)
-
Get internal tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_MISR ITAMPxMF LL_TAMP_IsActiveFlag_ITAMPM
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ClearFlag_TAMP
(
uint32_t
Tampers
)
-
Clear tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SCR CTAMPxF LL_TAMP_ClearFlag_TAMP
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
-
void
LL_TAMP_ClearFlag_ITAMP
(
uint32_t
InternalTampers
)
-
Clear internal tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SCR CITAMPxF LL_TAMP_ClearFlag_ITAMP
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
-
uint32_t
LL_TAMP_IsActiveFlag_TAMP
(
uint32_t
Tampers
)
- group TAMP_LL_EF_FLAG_Management
-
Functions
-
uint32_t
LL_TAMP_IsActiveFlag_TAMP
(
uint32_t
Tampers
)
-
Get tampers interrupt flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SR TAMPx LL_TAMP_IsActiveFlag_TAMP
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ITAMP
(
uint32_t
InternalTampers
)
-
Get internal tampers interrupt flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SR ITAMPx LL_TAMP_IsActiveFlag_ITAMP
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_TAMPM
(
uint32_t
Tampers
)
-
Get tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_MISR TAMPxMF LL_TAMP_IsActiveFlag_TAMPM
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ITAMPM
(
uint32_t
InternalTampers
)
-
Get internal tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_MISR ITAMPxMF LL_TAMP_IsActiveFlag_ITAMPM
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ClearFlag_TAMP
(
uint32_t
Tampers
)
-
Clear tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SCR CTAMPxF LL_TAMP_ClearFlag_TAMP
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
-
void
LL_TAMP_ClearFlag_ITAMP
(
uint32_t
InternalTampers
)
-
Clear internal tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SCR CITAMPxF LL_TAMP_ClearFlag_ITAMP
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
-
uint32_t
LL_TAMP_IsActiveFlag_TAMP
(
uint32_t
Tampers
)
SECURITY_Management ¶
- group TAMP_LL_EF_SECURITY
-
Functions
-
void
LL_TAMP_EnableTampSecure
(
void
)
¶
-
Enable TAMPER secure level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR TAMPSEC LL_TAMP_EnableTampSecure
-
void
LL_TAMP_DisableTampSecure
(
void
)
¶
-
Disable TAMPER secure level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR TAMPSEC LL_TAMP_DisableTampSecure
-
uint32_t
LL_TAMP_IsEnabledTampSecure
(
void
)
¶
-
Check if TAMPER secure level is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR TAMPSEC LL_TAMP_IsEnabledTampSecure
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableMonotonicCounter1Secure
(
void
)
¶
-
Enable Monotonic counter 1 secure level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR CNT1SEC LL_TAMP_EnableMonotonicCounter1Secure
-
void
LL_TAMP_DisableMonotonicCounter1Secure
(
void
)
¶
-
Disable Monotonic counter 1 secure level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR CNT1SEC LL_TAMP_DisableMonotonicCounter1Secure
-
uint32_t
LL_TAMP_IsEnabledMonotonicCounter1Secure
(
void
)
¶
-
Check if TAMPER secure level is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR CNT1SEC LL_TAMP_IsEnabledMonotonicCounter1Secure
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableTampSecure
(
void
)
¶
- group TAMP_LL_EF_SECURITY
-
Functions
-
void
LL_TAMP_EnableTampSecure
(
void
)
-
Enable TAMPER secure level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR TAMPSEC LL_TAMP_EnableTampSecure
-
void
LL_TAMP_DisableTampSecure
(
void
)
-
Disable TAMPER secure level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR TAMPSEC LL_TAMP_DisableTampSecure
-
uint32_t
LL_TAMP_IsEnabledTampSecure
(
void
)
-
Check if TAMPER secure level is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR TAMPSEC LL_TAMP_IsEnabledTampSecure
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableMonotonicCounter1Secure
(
void
)
-
Enable Monotonic counter 1 secure level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR CNT1SEC LL_TAMP_EnableMonotonicCounter1Secure
-
void
LL_TAMP_DisableMonotonicCounter1Secure
(
void
)
-
Disable Monotonic counter 1 secure level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR CNT1SEC LL_TAMP_DisableMonotonicCounter1Secure
-
uint32_t
LL_TAMP_IsEnabledMonotonicCounter1Secure
(
void
)
-
Check if TAMPER secure level is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR CNT1SEC LL_TAMP_IsEnabledMonotonicCounter1Secure
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableTampSecure
(
void
)
- group TAMP_LL_EF_SECURITY
-
Functions
-
void
LL_TAMP_EnableTampSecure
(
void
)
-
Enable TAMPER secure level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR TAMPSEC LL_TAMP_EnableTampSecure
-
void
LL_TAMP_DisableTampSecure
(
void
)
-
Disable TAMPER secure level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR TAMPSEC LL_TAMP_DisableTampSecure
-
uint32_t
LL_TAMP_IsEnabledTampSecure
(
void
)
-
Check if TAMPER secure level is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR TAMPSEC LL_TAMP_IsEnabledTampSecure
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableMonotonicCounter1Secure
(
void
)
-
Enable Monotonic counter 1 secure level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR CNT1SEC LL_TAMP_EnableMonotonicCounter1Secure
-
void
LL_TAMP_DisableMonotonicCounter1Secure
(
void
)
-
Disable Monotonic counter 1 secure level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR CNT1SEC LL_TAMP_DisableMonotonicCounter1Secure
-
uint32_t
LL_TAMP_IsEnabledMonotonicCounter1Secure
(
void
)
-
Check if TAMPER secure level is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR CNT1SEC LL_TAMP_IsEnabledMonotonicCounter1Secure
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableTampSecure
(
void
)
PRIVILEGE_Management ¶
- group TAMP_LL_EF_PRIVILEGE
-
Functions
-
void
LL_TAMP_EnableTampPrivilege
(
void
)
¶
-
Enable TAMPER privilege.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR TAMPPRIV LL_TAMP_SetTampPrivilege
-
void
LL_TAMP_DisableTampPrivilege
(
void
)
¶
-
Disable TAMPER privilege.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR TAMPPRIV LL_TAMP_DisableTampPrivilege
-
uint32_t
LL_TAMP_IsEnabledTampPrivilege
(
void
)
¶
-
Get TAMPER privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR TAMPPRIV LL_TAMP_IsEnabledTampPrivilege
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableMonotonicCounter1Privilege
(
void
)
¶
-
Enable Monotonic counter 1 privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR CNT1PRIV LL_TAMP_EnableMonotonicCounter1Privilege
-
void
LL_TAMP_DisableMonotonicCounter1Privilege
(
void
)
¶
-
Disable Monotonic counter 1 privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR CNT1SEC LL_TAMP_DisableMonotonicCounter1Privilege
-
uint32_t
LL_TAMP_IsEnabledMonotonicCounter1Privilege
(
void
)
¶
-
Check if TAMPER Privilege level is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR CNT1SEC LL_TAMP_IsEnabledMonotonicCounter1Privilege
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_SetBackupRegisterPrivilege
(
uint32_t
BackupRegisterPrivilege
)
¶
-
Set Backup Registers privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR BKPWPRIV LL_TAMP_SetBackupRegisterPrivilege
TAMP_PRIVCFGR BKPRWPRIV LL_TAMP_SetBackupRegisterPrivilege
Note
BackupRegisterPrivilege is only writable in secure mode or if trustzone is disabled
- Parameters :
-
BackupRegisterPrivilege – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetBackupRegisterPrivilege
(
void
)
¶
-
Get Backup Registers privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR BKPWPRIV LL_TAMP_GetBackupRegisterPrivilege
TAMP_PRIVCFGR BKPRWPRIV LL_TAMP_GetBackupRegisterPrivilege
- Return values :
-
This – parameter can be one of the following values:
-
void
LL_TAMP_EnableTampPrivilege
(
void
)
¶
- group TAMP_LL_EF_PRIVILEGE
-
Functions
-
void
LL_TAMP_EnableTampPrivilege
(
void
)
-
Enable TAMPER privilege.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR TAMPPRIV LL_TAMP_SetTampPrivilege
-
void
LL_TAMP_DisableTampPrivilege
(
void
)
-
Disable TAMPER privilege.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR TAMPPRIV LL_TAMP_DisableTampPrivilege
-
uint32_t
LL_TAMP_IsEnabledTampPrivilege
(
void
)
-
Get TAMPER privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR TAMPPRIV LL_TAMP_IsEnabledTampPrivilege
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableMonotonicCounter1Privilege
(
void
)
-
Enable Monotonic counter 1 privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR CNT1PRIV LL_TAMP_EnableMonotonicCounter1Privilege
-
void
LL_TAMP_DisableMonotonicCounter1Privilege
(
void
)
-
Disable Monotonic counter 1 privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR CNT1SEC LL_TAMP_DisableMonotonicCounter1Privilege
-
uint32_t
LL_TAMP_IsEnabledMonotonicCounter1Privilege
(
void
)
-
Check if TAMPER Privilege level is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR CNT1SEC LL_TAMP_IsEnabledMonotonicCounter1Privilege
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_SetBackupRegisterPrivilege
(
uint32_t
BackupRegisterPrivilege
)
-
Set Backup Registers privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR BKPWPRIV LL_TAMP_SetBackupRegisterPrivilege
TAMP_PRIVCFGR BKPRWPRIV LL_TAMP_SetBackupRegisterPrivilege
Note
BackupRegisterPrivilege is only writable in secure mode or if trustzone is disabled
- Parameters :
-
BackupRegisterPrivilege – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetBackupRegisterPrivilege
(
void
)
-
Get Backup Registers privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR BKPWPRIV LL_TAMP_GetBackupRegisterPrivilege
TAMP_PRIVCFGR BKPRWPRIV LL_TAMP_GetBackupRegisterPrivilege
- Return values :
-
This – parameter can be one of the following values:
-
void
LL_TAMP_EnableTampPrivilege
(
void
)
- group TAMP_LL_EF_PRIVILEGE
-
Functions
-
void
LL_TAMP_EnableTampPrivilege
(
void
)
-
Enable TAMPER privilege.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR TAMPPRIV LL_TAMP_SetTampPrivilege
-
void
LL_TAMP_DisableTampPrivilege
(
void
)
-
Disable TAMPER privilege.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR TAMPPRIV LL_TAMP_DisableTampPrivilege
-
uint32_t
LL_TAMP_IsEnabledTampPrivilege
(
void
)
-
Get TAMPER privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR TAMPPRIV LL_TAMP_IsEnabledTampPrivilege
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableMonotonicCounter1Privilege
(
void
)
-
Enable Monotonic counter 1 privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR CNT1PRIV LL_TAMP_EnableMonotonicCounter1Privilege
-
void
LL_TAMP_DisableMonotonicCounter1Privilege
(
void
)
-
Disable Monotonic counter 1 privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR CNT1SEC LL_TAMP_DisableMonotonicCounter1Privilege
-
uint32_t
LL_TAMP_IsEnabledMonotonicCounter1Privilege
(
void
)
-
Check if TAMPER Privilege level is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR CNT1SEC LL_TAMP_IsEnabledMonotonicCounter1Privilege
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_SetBackupRegisterPrivilege
(
uint32_t
BackupRegisterPrivilege
)
-
Set Backup Registers privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR BKPWPRIV LL_TAMP_SetBackupRegisterPrivilege
TAMP_PRIVCFGR BKPRWPRIV LL_TAMP_SetBackupRegisterPrivilege
Note
BackupRegisterPrivilege is only writable in secure mode or if trustzone is disabled
- Parameters :
-
BackupRegisterPrivilege – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetBackupRegisterPrivilege
(
void
)
-
Get Backup Registers privilege level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_PRIVCFGR BKPWPRIV LL_TAMP_GetBackupRegisterPrivilege
TAMP_PRIVCFGR BKPRWPRIV LL_TAMP_GetBackupRegisterPrivilege
- Return values :
-
This – parameter can be one of the following values:
-
void
LL_TAMP_EnableTampPrivilege
(
void
)
PROTECTION_BACKUP_REG_Management ¶
- group TAMP_LL_EF_BACKUP_REG_PROTECTION
-
Functions
-
void
LL_TAMP_SetBackupRegProtection
(
uint32_t
startZone2
,
uint32_t
startZone3
)
¶
-
Set Backup registers protection level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BKPWSEC LL_TAMP_SetBackupRegProtection
TAMP_SECCFGR BKPRWSEC LL_TAMP_SetBackupRegProtection
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
Note
Zone 1 : start from 0 to startZone2 start value
Note
Zone 2 : start from startZone2 start value to startZone3 start value
Note
Zone 3 : start from to startZone3 to the end of BACKUPREG
Note
Warning : this parameter is only writable in secure mode or if trustzone is disabled
- Parameters :
-
-
startZone2 – This parameter can be one of the group values BACKUP REGISTER
-
startZone3 – This parameter can be one of the group values BACKUP REGISTER
-
-
uint32_t
LL_TAMP_GetBackupRegProtectionStartZone2
(
void
)
¶
-
Get Backup registers protection level start zone 2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BKPRWSEC LL_TAMP_GetBackupRegProtectionStartZone2
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
- Return values :
-
Start – zone 2
-
uint32_t
LL_TAMP_GetBackupRegProtectionStartZone3
(
void
)
¶
-
Get Backup registers protection level start zone 3.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BKPWSEC LL_TAMP_GetBackupRegProtectionStartZone3
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
- Return values :
-
Start – zone 3
-
void
LL_TAMP_SetBackupRegProtection
(
uint32_t
startZone2
,
uint32_t
startZone3
)
¶
- group TAMP_LL_EF_BACKUP_REG_PROTECTION
-
Functions
-
void
LL_TAMP_SetBackupRegProtection
(
uint32_t
startZone2
,
uint32_t
startZone3
)
-
Set Backup registers protection level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BKPWSEC LL_TAMP_SetBackupRegProtection
TAMP_SECCFGR BKPRWSEC LL_TAMP_SetBackupRegProtection
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
Note
Zone 1 : start from 0 to startZone2 start value
Note
Zone 2 : start from startZone2 start value to startZone3 start value
Note
Zone 3 : start from to startZone3 to the end of BACKUPREG
Note
Warning : this parameter is only writable in secure mode or if trustzone is disabled
- Parameters :
-
-
startZone2 – This parameter can be one of the group values BACKUP REGISTER
-
startZone3 – This parameter can be one of the group values BACKUP REGISTER
-
-
uint32_t
LL_TAMP_GetBackupRegProtectionStartZone2
(
void
)
-
Get Backup registers protection level start zone 2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BKPRWSEC LL_TAMP_GetBackupRegProtectionStartZone2
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
- Return values :
-
Start – zone 2
-
uint32_t
LL_TAMP_GetBackupRegProtectionStartZone3
(
void
)
-
Get Backup registers protection level start zone 3.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BKPWSEC LL_TAMP_GetBackupRegProtectionStartZone3
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
- Return values :
-
Start – zone 3
-
void
LL_TAMP_SetBackupRegProtection
(
uint32_t
startZone2
,
uint32_t
startZone3
)
- group TAMP_LL_EF_BACKUP_REG_PROTECTION
-
Functions
-
void
LL_TAMP_SetBackupRegProtection
(
uint32_t
startZone2
,
uint32_t
startZone3
)
-
Set Backup registers protection level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BKPWSEC LL_TAMP_SetBackupRegProtection
TAMP_SECCFGR BKPRWSEC LL_TAMP_SetBackupRegProtection
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
Note
Zone 1 : start from 0 to startZone2 start value
Note
Zone 2 : start from startZone2 start value to startZone3 start value
Note
Zone 3 : start from to startZone3 to the end of BACKUPREG
Note
Warning : this parameter is only writable in secure mode or if trustzone is disabled
- Parameters :
-
-
startZone2 – This parameter can be one of the group values BACKUP REGISTER
-
startZone3 – This parameter can be one of the group values BACKUP REGISTER
-
-
uint32_t
LL_TAMP_GetBackupRegProtectionStartZone2
(
void
)
-
Get Backup registers protection level start zone 2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BKPRWSEC LL_TAMP_GetBackupRegProtectionStartZone2
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
- Return values :
-
Start – zone 2
-
uint32_t
LL_TAMP_GetBackupRegProtectionStartZone3
(
void
)
-
Get Backup registers protection level start zone 3.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BKPWSEC LL_TAMP_GetBackupRegProtectionStartZone3
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
- Return values :
-
Start – zone 3
-
void
LL_TAMP_SetBackupRegProtection
(
uint32_t
startZone2
,
uint32_t
startZone3
)
Device_Secret Management ¶
- group TAMP_LL_EF_Device_Secret_Management
-
Functions
-
void
LL_TAMP_BlockDeviceSecretsAccess
(
void
)
¶
-
Block access to the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_BlockDeviceSecretsAccess
-
void
LL_TAMP_UnblockDeviceSecretsAccess
(
void
)
¶
-
Unblock access to the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_UnblockDeviceSecretsAccess
-
uint32_t
LL_TAMP_IsBlockedDeviceSecretsAccess
(
void
)
¶
-
Check if the access to the backup registers and devices secrets is blocked.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_IsBlockedDeviceSecretsAccess
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EraseDeviceSecrets
(
void
)
¶
-
Erase the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKERASE LL_TAMP_EraseDeviceSecrets
-
void
LL_TAMP_EnableResourceProtection
(
uint32_t
Resources
)
¶
-
Enable protection by TAMP peripheral of the device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ERCFGR ERCFGx LL_TAMP_EnableResourceProtection
- Parameters :
-
Resources – can be a combination of the group values RESOURCE PROTECTION
-
void
LL_TAMP_DisableResourceProtection
(
uint32_t
Resources
)
¶
-
Disable protection by TAMP peripheral of the device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ERCFGR ERCFGx LL_TAMP_DisableResourceProtection
- Parameters :
-
Resources – can be a combination of the group values RESOURCE PROTECTION
-
uint32_t
LL_TAMP_IsEnabledResourceProtection
(
uint32_t
Resources
)
¶
-
Check if the protection by TAMP peripheral of the device secret is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ERCFGR ERCFGx LL_TAMP_IsEnabledResourceProtection
- Parameters :
-
Resources – can be a combination of the group values RESOURCE PROTECTION
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableHardwareBootkeyBlock
(
void
)
¶
-
Blocks access to the eight first backup registers corresponding to the hardware boot key.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BHKLOCK LL_TAMP_EnableHardwareBootkeyBlock
-
uint32_t
LL_TAMP_IsEnabledHardwareBootkeyBlock
(
void
)
¶
-
Check if the eight first backup registers corresponding to the hardware boot key are blocked.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BHKLOCK LL_TAMP_IsEnabledHardwareBootkeyBlock
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_BlockDeviceSecretsAccess
(
void
)
¶
- group TAMP_LL_EF_Device_Secret_Management
-
Functions
-
void
LL_TAMP_BlockDeviceSecretsAccess
(
void
)
-
Block access to the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_BlockDeviceSecretsAccess
-
void
LL_TAMP_UnblockDeviceSecretsAccess
(
void
)
-
Unblock access to the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_UnblockDeviceSecretsAccess
-
uint32_t
LL_TAMP_IsBlockedDeviceSecretsAccess
(
void
)
-
Check if the access to the backup registers and devices secrets is blocked.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_IsBlockedDeviceSecretsAccess
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EraseDeviceSecrets
(
void
)
-
Erase the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKERASE LL_TAMP_EraseDeviceSecrets
-
void
LL_TAMP_EnableResourceProtection
(
uint32_t
Resources
)
-
Enable protection by TAMP peripheral of the device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ERCFGR ERCFGx LL_TAMP_EnableResourceProtection
- Parameters :
-
Resources – can be a combination of the group values RESOURCE PROTECTION
-
void
LL_TAMP_DisableResourceProtection
(
uint32_t
Resources
)
-
Disable protection by TAMP peripheral of the device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ERCFGR ERCFGx LL_TAMP_DisableResourceProtection
- Parameters :
-
Resources – can be a combination of the group values RESOURCE PROTECTION
-
uint32_t
LL_TAMP_IsEnabledResourceProtection
(
uint32_t
Resources
)
-
Check if the protection by TAMP peripheral of the device secret is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ERCFGR ERCFGx LL_TAMP_IsEnabledResourceProtection
- Parameters :
-
Resources – can be a combination of the group values RESOURCE PROTECTION
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableHardwareBootkeyBlock
(
void
)
-
Blocks access to the eight first backup registers corresponding to the hardware boot key.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BHKLOCK LL_TAMP_EnableHardwareBootkeyBlock
-
uint32_t
LL_TAMP_IsEnabledHardwareBootkeyBlock
(
void
)
-
Check if the eight first backup registers corresponding to the hardware boot key are blocked.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BHKLOCK LL_TAMP_IsEnabledHardwareBootkeyBlock
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_BlockDeviceSecretsAccess
(
void
)
- group TAMP_LL_EF_Device_Secret_Management
-
Functions
-
void
LL_TAMP_BlockDeviceSecretsAccess
(
void
)
-
Block access to the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_BlockDeviceSecretsAccess
-
void
LL_TAMP_UnblockDeviceSecretsAccess
(
void
)
-
Unblock access to the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_UnblockDeviceSecretsAccess
-
uint32_t
LL_TAMP_IsBlockedDeviceSecretsAccess
(
void
)
-
Check if the access to the backup registers and devices secrets is blocked.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_IsBlockedDeviceSecretsAccess
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EraseDeviceSecrets
(
void
)
-
Erase the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKERASE LL_TAMP_EraseDeviceSecrets
-
void
LL_TAMP_EnableResourceProtection
(
uint32_t
Resources
)
-
Enable protection by TAMP peripheral of the device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ERCFGR ERCFGx LL_TAMP_EnableResourceProtection
- Parameters :
-
Resources – can be a combination of the group values RESOURCE PROTECTION
-
void
LL_TAMP_DisableResourceProtection
(
uint32_t
Resources
)
-
Disable protection by TAMP peripheral of the device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ERCFGR ERCFGx LL_TAMP_DisableResourceProtection
- Parameters :
-
Resources – can be a combination of the group values RESOURCE PROTECTION
-
uint32_t
LL_TAMP_IsEnabledResourceProtection
(
uint32_t
Resources
)
-
Check if the protection by TAMP peripheral of the device secret is enabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_ERCFGR ERCFGx LL_TAMP_IsEnabledResourceProtection
- Parameters :
-
Resources – can be a combination of the group values RESOURCE PROTECTION
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableHardwareBootkeyBlock
(
void
)
-
Blocks access to the eight first backup registers corresponding to the hardware boot key.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BHKLOCK LL_TAMP_EnableHardwareBootkeyBlock
-
uint32_t
LL_TAMP_IsEnabledHardwareBootkeyBlock
(
void
)
-
Check if the eight first backup registers corresponding to the hardware boot key are blocked.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SECCFGR BHKLOCK LL_TAMP_IsEnabledHardwareBootkeyBlock
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_BlockDeviceSecretsAccess
(
void
)
Monotonic Counter ¶
- group TAMP_LL_EF_Monotonic_Counter
-
Functions
-
void
LL_TAMP_IncrementMonotonicCounter1
(
void
)
¶
-
Increment Monotonic counter.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_COUNTR COUNT LL_TAMP_IncrementMonotonicCounter1
-
uint32_t
LL_TAMP_GetMonotonicCounter1
(
void
)
¶
-
Increment Monotonic counter.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_COUNTR COUNT LL_TAMP_GetMonotonicCounter1
- Return values :
-
Monotonic – counter value.
-
void
LL_TAMP_IncrementMonotonicCounter1
(
void
)
¶
- group TAMP_LL_EF_Monotonic_Counter
-
Functions
-
void
LL_TAMP_IncrementMonotonicCounter1
(
void
)
-
Increment Monotonic counter.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_COUNTR COUNT LL_TAMP_IncrementMonotonicCounter1
-
uint32_t
LL_TAMP_GetMonotonicCounter1
(
void
)
-
Increment Monotonic counter.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_COUNTR COUNT LL_TAMP_GetMonotonicCounter1
- Return values :
-
Monotonic – counter value.
-
void
LL_TAMP_IncrementMonotonicCounter1
(
void
)
- group TAMP_LL_EF_Monotonic_Counter
-
Functions
-
void
LL_TAMP_IncrementMonotonicCounter1
(
void
)
-
Increment Monotonic counter.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_COUNTR COUNT LL_TAMP_IncrementMonotonicCounter1
-
uint32_t
LL_TAMP_GetMonotonicCounter1
(
void
)
-
Increment Monotonic counter.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_COUNTR COUNT LL_TAMP_GetMonotonicCounter1
- Return values :
-
Monotonic – counter value.
-
void
LL_TAMP_IncrementMonotonicCounter1
(
void
)