STM32L486xx HAL User Manual
Functions
Tamper
RTC Exported Functions

Functions

__STATIC_INLINE void LL_RTC_TAMPER_Enable (RTC_TypeDef *RTCx, uint32_t Tamper)
 Enable RTC_TAMPx input detection.
__STATIC_INLINE void LL_RTC_TAMPER_Disable (RTC_TypeDef *RTCx, uint32_t Tamper)
 Clear RTC_TAMPx input detection.
__STATIC_INLINE void LL_RTC_TAMPER_EnableMask (RTC_TypeDef *RTCx, uint32_t Mask)
 Enable Tamper mask flag.
__STATIC_INLINE void LL_RTC_TAMPER_DisableMask (RTC_TypeDef *RTCx, uint32_t Mask)
 Disable Tamper mask flag.
__STATIC_INLINE void LL_RTC_TAMPER_EnableEraseBKP (RTC_TypeDef *RTCx, uint32_t Tamper)
 Enable backup register erase after Tamper event detection.
__STATIC_INLINE void LL_RTC_TAMPER_DisableEraseBKP (RTC_TypeDef *RTCx, uint32_t Tamper)
 Disable backup register erase after Tamper event detection.
__STATIC_INLINE void LL_RTC_TAMPER_DisablePullUp (RTC_TypeDef *RTCx)
 Disable RTC_TAMPx pull-up disable (Disable precharge of RTC_TAMPx pins)
__STATIC_INLINE void LL_RTC_TAMPER_EnablePullUp (RTC_TypeDef *RTCx)
 Enable RTC_TAMPx pull-up disable ( Precharge RTC_TAMPx pins before sampling)
__STATIC_INLINE void LL_RTC_TAMPER_SetPrecharge (RTC_TypeDef *RTCx, uint32_t Duration)
 Set RTC_TAMPx precharge duration.
__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetPrecharge (RTC_TypeDef *RTCx)
 Get RTC_TAMPx precharge duration.
__STATIC_INLINE void LL_RTC_TAMPER_SetFilterCount (RTC_TypeDef *RTCx, uint32_t FilterCount)
 Set RTC_TAMPx filter count.
__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetFilterCount (RTC_TypeDef *RTCx)
 Get RTC_TAMPx filter count.
__STATIC_INLINE void LL_RTC_TAMPER_SetSamplingFreq (RTC_TypeDef *RTCx, uint32_t SamplingFreq)
 Set Tamper sampling frequency.
__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetSamplingFreq (RTC_TypeDef *RTCx)
 Get Tamper sampling frequency.
__STATIC_INLINE void LL_RTC_TAMPER_EnableActiveLevel (RTC_TypeDef *RTCx, uint32_t Tamper)
 Enable Active level for Tamper input.
__STATIC_INLINE void LL_RTC_TAMPER_DisableActiveLevel (RTC_TypeDef *RTCx, uint32_t Tamper)
 Disable Active level for Tamper input.

Function Documentation

__STATIC_INLINE void LL_RTC_TAMPER_Disable ( RTC_TypeDef *  RTCx,
uint32_t  Tamper 
)

Clear RTC_TAMPx input detection.

Reference Manual to LL API cross reference:
TAMPCR TAMP1E LL_RTC_TAMPER_Disable
TAMPCR TAMP2E LL_RTC_TAMPER_Disable
TAMPCR TAMP3E LL_RTC_TAMPER_Disable
Parameters:
RTCxRTC Instance
TamperThis parameter can be a combination of the following values:
Return values:
None

Definition at line 2660 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_TAMPER_DisableActiveLevel ( RTC_TypeDef *  RTCx,
uint32_t  Tamper 
)

Disable Active level for Tamper input.

Reference Manual to LL API cross reference:
TAMPCR TAMP1TRG LL_RTC_TAMPER_DisableActiveLevel
TAMPCR TAMP2TRG LL_RTC_TAMPER_DisableActiveLevel
TAMPCR TAMP3TRG LL_RTC_TAMPER_DisableActiveLevel
Parameters:
RTCxRTC Instance
TamperThis parameter can be a combination of the following values:
Return values:
None

Definition at line 2900 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_TAMPER_DisableEraseBKP ( RTC_TypeDef *  RTCx,
uint32_t  Tamper 
)

Disable backup register erase after Tamper event detection.

Reference Manual to LL API cross reference:
TAMPCR TAMP1NOERASE LL_RTC_TAMPER_DisableEraseBKP
TAMPCR TAMP2NOERASE LL_RTC_TAMPER_DisableEraseBKP
TAMPCR TAMP3NOERASE LL_RTC_TAMPER_DisableEraseBKP
Parameters:
RTCxRTC Instance
TamperThis parameter can be a combination of the following values:
Return values:
None

Definition at line 2733 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_TAMPER_DisableMask ( RTC_TypeDef *  RTCx,
uint32_t  Mask 
)

Disable Tamper mask flag.

Reference Manual to LL API cross reference:
TAMPCR TAMP1MF LL_RTC_TAMPER_DisableMask
TAMPCR TAMP2MF LL_RTC_TAMPER_DisableMask
TAMPCR TAMP3MF LL_RTC_TAMPER_DisableMask
Parameters:
RTCxRTC Instance
MaskThis parameter can be a combination of the following values:
Return values:
None

Definition at line 2697 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_TAMPER_DisablePullUp ( RTC_TypeDef *  RTCx)

Disable RTC_TAMPx pull-up disable (Disable precharge of RTC_TAMPx pins)

Reference Manual to LL API cross reference:
TAMPCR TAMPPUDIS LL_RTC_TAMPER_DisablePullUp
Parameters:
RTCxRTC Instance
Return values:
None

Definition at line 2745 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_TAMPER_Enable ( RTC_TypeDef *  RTCx,
uint32_t  Tamper 
)

Enable RTC_TAMPx input detection.

Reference Manual to LL API cross reference:
TAMPCR TAMP1E LL_RTC_TAMPER_Enable
TAMPCR TAMP2E LL_RTC_TAMPER_Enable
TAMPCR TAMP3E LL_RTC_TAMPER_Enable
Parameters:
RTCxRTC Instance
TamperThis parameter can be a combination of the following values:
Return values:
None

Definition at line 2642 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_TAMPER_EnableActiveLevel ( RTC_TypeDef *  RTCx,
uint32_t  Tamper 
)

Enable Active level for Tamper input.

Reference Manual to LL API cross reference:
TAMPCR TAMP1TRG LL_RTC_TAMPER_EnableActiveLevel
TAMPCR TAMP2TRG LL_RTC_TAMPER_EnableActiveLevel
TAMPCR TAMP3TRG LL_RTC_TAMPER_EnableActiveLevel
Parameters:
RTCxRTC Instance
TamperThis parameter can be a combination of the following values:
Return values:
None

Definition at line 2882 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_TAMPER_EnableEraseBKP ( RTC_TypeDef *  RTCx,
uint32_t  Tamper 
)

Enable backup register erase after Tamper event detection.

Reference Manual to LL API cross reference:
TAMPCR TAMP1NOERASE LL_RTC_TAMPER_EnableEraseBKP
TAMPCR TAMP2NOERASE LL_RTC_TAMPER_EnableEraseBKP
TAMPCR TAMP3NOERASE LL_RTC_TAMPER_EnableEraseBKP
Parameters:
RTCxRTC Instance
TamperThis parameter can be a combination of the following values:
Return values:
None

Definition at line 2715 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_TAMPER_EnableMask ( RTC_TypeDef *  RTCx,
uint32_t  Mask 
)

Enable Tamper mask flag.

Note:
Associated Tamper IT must not enabled when tamper mask is set.
Reference Manual to LL API cross reference:
TAMPCR TAMP1MF LL_RTC_TAMPER_EnableMask
TAMPCR TAMP2MF LL_RTC_TAMPER_EnableMask
TAMPCR TAMP3MF LL_RTC_TAMPER_EnableMask
Parameters:
RTCxRTC Instance
MaskThis parameter can be a combination of the following values:
Return values:
None

Definition at line 2679 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_TAMPER_EnablePullUp ( RTC_TypeDef *  RTCx)

Enable RTC_TAMPx pull-up disable ( Precharge RTC_TAMPx pins before sampling)

Reference Manual to LL API cross reference:
TAMPCR TAMPPUDIS LL_RTC_TAMPER_EnablePullUp
Parameters:
RTCxRTC Instance
Return values:
None

Definition at line 2756 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetFilterCount ( RTC_TypeDef *  RTCx)

Get RTC_TAMPx filter count.

Reference Manual to LL API cross reference:
TAMPCR TAMPFLT LL_RTC_TAMPER_GetFilterCount
Parameters:
RTCxRTC Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 2822 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetPrecharge ( RTC_TypeDef *  RTCx)

Get RTC_TAMPx precharge duration.

Reference Manual to LL API cross reference:
TAMPCR TAMPPRCH LL_RTC_TAMPER_GetPrecharge
Parameters:
RTCxRTC Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 2789 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetSamplingFreq ( RTC_TypeDef *  RTCx)

Get Tamper sampling frequency.

Reference Manual to LL API cross reference:
TAMPCR TAMPFREQ LL_RTC_TAMPER_GetSamplingFreq
Parameters:
RTCxRTC Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 2863 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_TAMPER_SetFilterCount ( RTC_TypeDef *  RTCx,
uint32_t  FilterCount 
)

Set RTC_TAMPx filter count.

Reference Manual to LL API cross reference:
TAMPCR TAMPFLT LL_RTC_TAMPER_SetFilterCount
Parameters:
RTCxRTC Instance
FilterCountThis parameter can be one of the following values:
Return values:
None

Definition at line 2807 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_TAMPER_SetPrecharge ( RTC_TypeDef *  RTCx,
uint32_t  Duration 
)

Set RTC_TAMPx precharge duration.

Reference Manual to LL API cross reference:
TAMPCR TAMPPRCH LL_RTC_TAMPER_SetPrecharge
Parameters:
RTCxRTC Instance
DurationThis parameter can be one of the following values:
Return values:
None

Definition at line 2774 of file stm32l4xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_TAMPER_SetSamplingFreq ( RTC_TypeDef *  RTCx,
uint32_t  SamplingFreq 
)

Set Tamper sampling frequency.

Reference Manual to LL API cross reference:
TAMPCR TAMPFREQ LL_RTC_TAMPER_SetSamplingFreq
Parameters:
RTCxRTC Instance
SamplingFreqThis parameter can be one of the following values:
Return values:
None

Definition at line 2844 of file stm32l4xx_ll_rtc.h.