STM32F4xx_HAL_Driver  1.8.3
+ Collaboration diagram for Tamper:

Functions

__STATIC_INLINE void LL_RTC_TAMPER_Enable (RTC_TypeDef *RTCx, uint32_t Tamper)
 Enable RTC_TAMPx input detection @rmtoll TAFCR TAMP1E LL_RTC_TAMPER_Enable
TAFCR TAMP2E LL_RTC_TAMPER_Enable
. More...
 
__STATIC_INLINE void LL_RTC_TAMPER_Disable (RTC_TypeDef *RTCx, uint32_t Tamper)
 Clear RTC_TAMPx input detection @rmtoll TAFCR TAMP1E LL_RTC_TAMPER_Disable
TAFCR TAMP2E LL_RTC_TAMPER_Disable
. More...
 
__STATIC_INLINE void LL_RTC_TAMPER_DisablePullUp (RTC_TypeDef *RTCx)
 Disable RTC_TAMPx pull-up disable (Disable precharge of RTC_TAMPx pins) @rmtoll TAFCR TAMPPUDIS LL_RTC_TAMPER_DisablePullUp. More...
 
__STATIC_INLINE void LL_RTC_TAMPER_EnablePullUp (RTC_TypeDef *RTCx)
 Enable RTC_TAMPx pull-up disable ( Precharge RTC_TAMPx pins before sampling) @rmtoll TAFCR TAMPPUDIS LL_RTC_TAMPER_EnablePullUp. More...
 
__STATIC_INLINE void LL_RTC_TAMPER_SetPrecharge (RTC_TypeDef *RTCx, uint32_t Duration)
 Set RTC_TAMPx precharge duration @rmtoll TAFCR TAMPPRCH LL_RTC_TAMPER_SetPrecharge. More...
 
__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetPrecharge (RTC_TypeDef *RTCx)
 Get RTC_TAMPx precharge duration @rmtoll TAFCR TAMPPRCH LL_RTC_TAMPER_GetPrecharge. More...
 
__STATIC_INLINE void LL_RTC_TAMPER_SetFilterCount (RTC_TypeDef *RTCx, uint32_t FilterCount)
 Set RTC_TAMPx filter count @rmtoll TAFCR TAMPFLT LL_RTC_TAMPER_SetFilterCount. More...
 
__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetFilterCount (RTC_TypeDef *RTCx)
 Get RTC_TAMPx filter count @rmtoll TAFCR TAMPFLT LL_RTC_TAMPER_GetFilterCount. More...
 
__STATIC_INLINE void LL_RTC_TAMPER_SetSamplingFreq (RTC_TypeDef *RTCx, uint32_t SamplingFreq)
 Set Tamper sampling frequency @rmtoll TAFCR TAMPFREQ LL_RTC_TAMPER_SetSamplingFreq. More...
 
__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetSamplingFreq (RTC_TypeDef *RTCx)
 Get Tamper sampling frequency @rmtoll TAFCR TAMPFREQ LL_RTC_TAMPER_GetSamplingFreq. More...
 
__STATIC_INLINE void LL_RTC_TAMPER_EnableActiveLevel (RTC_TypeDef *RTCx, uint32_t Tamper)
 Enable Active level for Tamper input @rmtoll TAFCR TAMP1TRG LL_RTC_TAMPER_EnableActiveLevel
TAFCR TAMP2TRG LL_RTC_TAMPER_EnableActiveLevel
. More...
 
__STATIC_INLINE void LL_RTC_TAMPER_DisableActiveLevel (RTC_TypeDef *RTCx, uint32_t Tamper)
 Disable Active level for Tamper input @rmtoll TAFCR TAMP1TRG LL_RTC_TAMPER_DisableActiveLevel
TAFCR TAMP2TRG LL_RTC_TAMPER_DisableActiveLevel
. More...
 
__STATIC_INLINE void LL_RTC_TAMPER_SetPin (RTC_TypeDef *RTCx, uint32_t TamperPin)
 Set Tamper Pin @rmtoll TAFCR TAMP1INSEL LL_RTC_TAMPER_SetPin. More...
 
__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetPin (RTC_TypeDef *RTCx)
 Get Tamper Pin @rmtoll TAFCR TAMP1INSEL LL_RTC_TAMPER_GetPin. More...
 

Detailed Description

Function Documentation

◆ LL_RTC_TAMPER_Disable()

__STATIC_INLINE void LL_RTC_TAMPER_Disable ( RTC_TypeDef *  RTCx,
uint32_t  Tamper 
)

Clear RTC_TAMPx input detection @rmtoll TAFCR TAMP1E LL_RTC_TAMPER_Disable
TAFCR TAMP2E LL_RTC_TAMPER_Disable
.

Parameters
RTCxRTC Instance
TamperThis parameter can be a combination of the following values:
  • LL_RTC_TAMPER_1
  • LL_RTC_TAMPER_2 (*)
(*) value not applicable to all devices.
Return values
None

Definition at line 2587 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_TAMPER_DisableActiveLevel()

__STATIC_INLINE void LL_RTC_TAMPER_DisableActiveLevel ( RTC_TypeDef *  RTCx,
uint32_t  Tamper 
)

Disable Active level for Tamper input @rmtoll TAFCR TAMP1TRG LL_RTC_TAMPER_DisableActiveLevel
TAFCR TAMP2TRG LL_RTC_TAMPER_DisableActiveLevel
.

Parameters
RTCxRTC Instance
TamperThis parameter can be a combination of the following values:
  • LL_RTC_TAMPER_ACTIVELEVEL_TAMP1
  • LL_RTC_TAMPER_ACTIVELEVEL_TAMP2 (*)
(*) value not applicable to all devices.
Return values
None

Definition at line 2744 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_TAMPER_DisablePullUp()

__STATIC_INLINE void LL_RTC_TAMPER_DisablePullUp ( RTC_TypeDef *  RTCx)

Disable RTC_TAMPx pull-up disable (Disable precharge of RTC_TAMPx pins) @rmtoll TAFCR TAMPPUDIS LL_RTC_TAMPER_DisablePullUp.

Parameters
RTCxRTC Instance
Return values
None

Definition at line 2598 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_TAMPER_Enable()

__STATIC_INLINE void LL_RTC_TAMPER_Enable ( RTC_TypeDef *  RTCx,
uint32_t  Tamper 
)

Enable RTC_TAMPx input detection @rmtoll TAFCR TAMP1E LL_RTC_TAMPER_Enable
TAFCR TAMP2E LL_RTC_TAMPER_Enable
.

Parameters
RTCxRTC Instance
TamperThis parameter can be a combination of the following values:
  • LL_RTC_TAMPER_1
  • LL_RTC_TAMPER_2 (*)
(*) value not applicable to all devices.
Return values
None

Definition at line 2570 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_TAMPER_EnableActiveLevel()

__STATIC_INLINE void LL_RTC_TAMPER_EnableActiveLevel ( RTC_TypeDef *  RTCx,
uint32_t  Tamper 
)

Enable Active level for Tamper input @rmtoll TAFCR TAMP1TRG LL_RTC_TAMPER_EnableActiveLevel
TAFCR TAMP2TRG LL_RTC_TAMPER_EnableActiveLevel
.

Parameters
RTCxRTC Instance
TamperThis parameter can be a combination of the following values:
  • LL_RTC_TAMPER_ACTIVELEVEL_TAMP1
  • LL_RTC_TAMPER_ACTIVELEVEL_TAMP2 (*)
(*) value not applicable to all devices.
Return values
None

Definition at line 2727 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_TAMPER_EnablePullUp()

__STATIC_INLINE void LL_RTC_TAMPER_EnablePullUp ( RTC_TypeDef *  RTCx)

Enable RTC_TAMPx pull-up disable ( Precharge RTC_TAMPx pins before sampling) @rmtoll TAFCR TAMPPUDIS LL_RTC_TAMPER_EnablePullUp.

Parameters
RTCxRTC Instance
Return values
None

Definition at line 2609 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_TAMPER_GetFilterCount()

__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetFilterCount ( RTC_TypeDef *  RTCx)

Get RTC_TAMPx filter count @rmtoll TAFCR TAMPFLT LL_RTC_TAMPER_GetFilterCount.

Parameters
RTCxRTC Instance
Return values
Returnedvalue can be one of the following values:
  • LL_RTC_TAMPER_FILTER_DISABLE
  • LL_RTC_TAMPER_FILTER_2SAMPLE
  • LL_RTC_TAMPER_FILTER_4SAMPLE
  • LL_RTC_TAMPER_FILTER_8SAMPLE

Definition at line 2671 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_TAMPER_GetPin()

__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetPin ( RTC_TypeDef *  RTCx)

Get Tamper Pin @rmtoll TAFCR TAMP1INSEL LL_RTC_TAMPER_GetPin.

Parameters
RTCxRTC Instance
Return values
Returnedvalue can be one of the following values:
  • LL_RTC_TamperPin_Default: RTC_AF1 is used as RTC Tamper Pin.
  • LL_RTC_TamperPin_Pos1: RTC_AF2 is selected as RTC Tamper Pin. (*)
(*) value not applicable to all devices.
None

Definition at line 2778 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_TAMPER_GetPrecharge()

__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetPrecharge ( RTC_TypeDef *  RTCx)

Get RTC_TAMPx precharge duration @rmtoll TAFCR TAMPPRCH LL_RTC_TAMPER_GetPrecharge.

Parameters
RTCxRTC Instance
Return values
Returnedvalue can be one of the following values:
  • LL_RTC_TAMPER_DURATION_1RTCCLK
  • LL_RTC_TAMPER_DURATION_2RTCCLK
  • LL_RTC_TAMPER_DURATION_4RTCCLK
  • LL_RTC_TAMPER_DURATION_8RTCCLK

Definition at line 2640 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_TAMPER_GetSamplingFreq()

__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetSamplingFreq ( RTC_TypeDef *  RTCx)

Get Tamper sampling frequency @rmtoll TAFCR TAMPFREQ LL_RTC_TAMPER_GetSamplingFreq.

Parameters
RTCxRTC Instance
Return values
Returnedvalue can be one of the following values:
  • LL_RTC_TAMPER_SAMPLFREQDIV_32768
  • LL_RTC_TAMPER_SAMPLFREQDIV_16384
  • LL_RTC_TAMPER_SAMPLFREQDIV_8192
  • LL_RTC_TAMPER_SAMPLFREQDIV_4096
  • LL_RTC_TAMPER_SAMPLFREQDIV_2048
  • LL_RTC_TAMPER_SAMPLFREQDIV_1024
  • LL_RTC_TAMPER_SAMPLFREQDIV_512
  • LL_RTC_TAMPER_SAMPLFREQDIV_256

Definition at line 2710 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_TAMPER_SetFilterCount()

__STATIC_INLINE void LL_RTC_TAMPER_SetFilterCount ( RTC_TypeDef *  RTCx,
uint32_t  FilterCount 
)

Set RTC_TAMPx filter count @rmtoll TAFCR TAMPFLT LL_RTC_TAMPER_SetFilterCount.

Parameters
RTCxRTC Instance
FilterCountThis parameter can be one of the following values:
  • LL_RTC_TAMPER_FILTER_DISABLE
  • LL_RTC_TAMPER_FILTER_2SAMPLE
  • LL_RTC_TAMPER_FILTER_4SAMPLE
  • LL_RTC_TAMPER_FILTER_8SAMPLE
Return values
None

Definition at line 2656 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_TAMPER_SetPin()

__STATIC_INLINE void LL_RTC_TAMPER_SetPin ( RTC_TypeDef *  RTCx,
uint32_t  TamperPin 
)

Set Tamper Pin @rmtoll TAFCR TAMP1INSEL LL_RTC_TAMPER_SetPin.

Parameters
RTCxRTC Instance
TamperPinspecifies the RTC Tamper Pin. This parameter can be one of the following values:
  • LL_RTC_TamperPin_Default: RTC_AF1 is used as RTC Tamper Pin.
  • LL_RTC_TamperPin_Pos1: RTC_AF2 is used as RTC Tamper Pin. (*)
(*) value not applicable to all devices.
Return values
None

Definition at line 2761 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_TAMPER_SetPrecharge()

__STATIC_INLINE void LL_RTC_TAMPER_SetPrecharge ( RTC_TypeDef *  RTCx,
uint32_t  Duration 
)

Set RTC_TAMPx precharge duration @rmtoll TAFCR TAMPPRCH LL_RTC_TAMPER_SetPrecharge.

Parameters
RTCxRTC Instance
DurationThis parameter can be one of the following values:
  • LL_RTC_TAMPER_DURATION_1RTCCLK
  • LL_RTC_TAMPER_DURATION_2RTCCLK
  • LL_RTC_TAMPER_DURATION_4RTCCLK
  • LL_RTC_TAMPER_DURATION_8RTCCLK
Return values
None

Definition at line 2625 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_TAMPER_SetSamplingFreq()

__STATIC_INLINE void LL_RTC_TAMPER_SetSamplingFreq ( RTC_TypeDef *  RTCx,
uint32_t  SamplingFreq 
)

Set Tamper sampling frequency @rmtoll TAFCR TAMPFREQ LL_RTC_TAMPER_SetSamplingFreq.

Parameters
RTCxRTC Instance
SamplingFreqThis parameter can be one of the following values:
  • LL_RTC_TAMPER_SAMPLFREQDIV_32768
  • LL_RTC_TAMPER_SAMPLFREQDIV_16384
  • LL_RTC_TAMPER_SAMPLFREQDIV_8192
  • LL_RTC_TAMPER_SAMPLFREQDIV_4096
  • LL_RTC_TAMPER_SAMPLFREQDIV_2048
  • LL_RTC_TAMPER_SAMPLFREQDIV_1024
  • LL_RTC_TAMPER_SAMPLFREQDIV_512
  • LL_RTC_TAMPER_SAMPLFREQDIV_256
Return values
None

Definition at line 2691 of file stm32f4xx_ll_rtc.h.