STM32F439xx 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_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.
__STATIC_INLINE void LL_RTC_TAMPER_SetPin (RTC_TypeDef *RTCx, uint32_t TamperPin)
 Set Tamper Pin.
__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetPin (RTC_TypeDef *RTCx)
 Get Tamper Pin.

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:
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: (*) value not defined in all devices.
Return values:
None

Definition at line 2762 of file stm32f4xx_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:
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: (*) value not defined in all devices.
Return values:
None

Definition at line 2927 of file stm32f4xx_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:
TAFCR TAMPPUDIS LL_RTC_TAMPER_DisablePullUp
Parameters:
RTCxRTC Instance
Return values:
None

Definition at line 2774 of file stm32f4xx_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:
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: (*) value not defined in all devices.
Return values:
None

Definition at line 2745 of file stm32f4xx_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:
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: (*) value not defined in all devices.
Return values:
None

Definition at line 2910 of file stm32f4xx_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:
TAFCR TAMPPUDIS LL_RTC_TAMPER_EnablePullUp
Parameters:
RTCxRTC Instance
Return values:
None

Definition at line 2785 of file stm32f4xx_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:
TAFCR TAMPFLT LL_RTC_TAMPER_GetFilterCount
Parameters:
RTCxRTC Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 2851 of file stm32f4xx_ll_rtc.h.

__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetPin ( RTC_TypeDef *  RTCx)

Get Tamper Pin.

Reference Manual to LL API cross reference:
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 defined in all devices.
None

Definition at line 2961 of file stm32f4xx_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:
TAFCR TAMPPRCH LL_RTC_TAMPER_GetPrecharge
Parameters:
RTCxRTC Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 2818 of file stm32f4xx_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:
TAFCR TAMPFREQ LL_RTC_TAMPER_GetSamplingFreq
Parameters:
RTCxRTC Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 2892 of file stm32f4xx_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:
TAFCR TAMPFLT LL_RTC_TAMPER_SetFilterCount
Parameters:
RTCxRTC Instance
FilterCountThis parameter can be one of the following values:
Return values:
None

Definition at line 2836 of file stm32f4xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_TAMPER_SetPin ( RTC_TypeDef *  RTCx,
uint32_t  TamperPin 
)

Set Tamper Pin.

Reference Manual to LL API cross reference:
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.
  • LL_RTC_TamperPin_Pos1: RTC_AF2 is selected as RTC Tamper. (*)
(*) value not defined in all devices.
Return values:
None

Definition at line 2944 of file stm32f4xx_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:
TAFCR TAMPPRCH LL_RTC_TAMPER_SetPrecharge
Parameters:
RTCxRTC Instance
DurationThis parameter can be one of the following values:
Return values:
None

Definition at line 2803 of file stm32f4xx_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:
TAFCR TAMPFREQ LL_RTC_TAMPER_SetSamplingFreq
Parameters:
RTCxRTC Instance
SamplingFreqThis parameter can be one of the following values:
Return values:
None

Definition at line 2873 of file stm32f4xx_ll_rtc.h.