Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Tamper
[RTC Exported Functions]
Functions | |
__STATIC_INLINE void | LL_RTC_TAMPER_Enable (RTC_TypeDef *RTCx, uint32_t Tamper) |
Enable RTC_TAMPx input detection TAMPCR TAMP1E LL_RTC_TAMPER_Enable TAMPCR TAMP2E LL_RTC_TAMPER_Enable TAMPCR TAMP3E LL_RTC_TAMPER_Enable. | |
__STATIC_INLINE void | LL_RTC_TAMPER_Disable (RTC_TypeDef *RTCx, uint32_t Tamper) |
Clear RTC_TAMPx input detection TAMPCR TAMP1E LL_RTC_TAMPER_Disable TAMPCR TAMP2E LL_RTC_TAMPER_Disable TAMPCR TAMP3E LL_RTC_TAMPER_Disable. | |
__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 TAMPCR TAMP1MF LL_RTC_TAMPER_DisableMask TAMPCR TAMP2MF LL_RTC_TAMPER_DisableMask TAMPCR TAMP3MF LL_RTC_TAMPER_DisableMask. | |
__STATIC_INLINE void | LL_RTC_TAMPER_EnableEraseBKP (RTC_TypeDef *RTCx, uint32_t Tamper) |
Enable backup register erase after Tamper event detection TAMPCR TAMP1NOERASE LL_RTC_TAMPER_EnableEraseBKP TAMPCR TAMP2NOERASE LL_RTC_TAMPER_EnableEraseBKP TAMPCR TAMP3NOERASE LL_RTC_TAMPER_EnableEraseBKP. | |
__STATIC_INLINE void | LL_RTC_TAMPER_DisableEraseBKP (RTC_TypeDef *RTCx, uint32_t Tamper) |
Disable backup register erase after Tamper event detection TAMPCR TAMP1NOERASE LL_RTC_TAMPER_DisableEraseBKP TAMPCR TAMP2NOERASE LL_RTC_TAMPER_DisableEraseBKP TAMPCR TAMP3NOERASE LL_RTC_TAMPER_DisableEraseBKP. | |
__STATIC_INLINE void | LL_RTC_TAMPER_DisablePullUp (RTC_TypeDef *RTCx) |
Disable RTC_TAMPx pull-up disable (Disable precharge of RTC_TAMPx pins) TAMPCR TAMPPUDIS LL_RTC_TAMPER_DisablePullUp. | |
__STATIC_INLINE void | LL_RTC_TAMPER_EnablePullUp (RTC_TypeDef *RTCx) |
Enable RTC_TAMPx pull-up disable ( Precharge RTC_TAMPx pins before sampling) TAMPCR TAMPPUDIS LL_RTC_TAMPER_EnablePullUp. | |
__STATIC_INLINE void | LL_RTC_TAMPER_SetPrecharge (RTC_TypeDef *RTCx, uint32_t Duration) |
Set RTC_TAMPx precharge duration TAMPCR TAMPPRCH LL_RTC_TAMPER_SetPrecharge. | |
__STATIC_INLINE uint32_t | LL_RTC_TAMPER_GetPrecharge (RTC_TypeDef *RTCx) |
Get RTC_TAMPx precharge duration TAMPCR TAMPPRCH LL_RTC_TAMPER_GetPrecharge. | |
__STATIC_INLINE void | LL_RTC_TAMPER_SetFilterCount (RTC_TypeDef *RTCx, uint32_t FilterCount) |
Set RTC_TAMPx filter count TAMPCR TAMPFLT LL_RTC_TAMPER_SetFilterCount. | |
__STATIC_INLINE uint32_t | LL_RTC_TAMPER_GetFilterCount (RTC_TypeDef *RTCx) |
Get RTC_TAMPx filter count TAMPCR TAMPFLT LL_RTC_TAMPER_GetFilterCount. | |
__STATIC_INLINE void | LL_RTC_TAMPER_SetSamplingFreq (RTC_TypeDef *RTCx, uint32_t SamplingFreq) |
Set Tamper sampling frequency TAMPCR TAMPFREQ LL_RTC_TAMPER_SetSamplingFreq. | |
__STATIC_INLINE uint32_t | LL_RTC_TAMPER_GetSamplingFreq (RTC_TypeDef *RTCx) |
Get Tamper sampling frequency TAMPCR TAMPFREQ LL_RTC_TAMPER_GetSamplingFreq. | |
__STATIC_INLINE void | LL_RTC_TAMPER_EnableActiveLevel (RTC_TypeDef *RTCx, uint32_t Tamper) |
Enable Active level for Tamper input TAMPCR TAMP1TRG LL_RTC_TAMPER_EnableActiveLevel TAMPCR TAMP2TRG LL_RTC_TAMPER_EnableActiveLevel TAMPCR TAMP3TRG LL_RTC_TAMPER_EnableActiveLevel. | |
__STATIC_INLINE void | LL_RTC_TAMPER_DisableActiveLevel (RTC_TypeDef *RTCx, uint32_t Tamper) |
Disable Active level for Tamper input TAMPCR TAMP1TRG LL_RTC_TAMPER_DisableActiveLevel TAMPCR TAMP2TRG LL_RTC_TAMPER_DisableActiveLevel TAMPCR TAMP3TRG LL_RTC_TAMPER_DisableActiveLevel. |
Function Documentation
__STATIC_INLINE void LL_RTC_TAMPER_Disable | ( | RTC_TypeDef * | RTCx, |
uint32_t | Tamper | ||
) |
Clear RTC_TAMPx input detection TAMPCR TAMP1E LL_RTC_TAMPER_Disable
TAMPCR TAMP2E LL_RTC_TAMPER_Disable
TAMPCR TAMP3E LL_RTC_TAMPER_Disable.
- Parameters:
-
RTCx RTC Instance Tamper This parameter can be a combination of the following values: - LL_RTC_TAMPER_1
- LL_RTC_TAMPER_2
- LL_RTC_TAMPER_3
- Return values:
-
None
Definition at line 2731 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 TAMPCR TAMP1TRG LL_RTC_TAMPER_DisableActiveLevel
TAMPCR TAMP2TRG LL_RTC_TAMPER_DisableActiveLevel
TAMPCR TAMP3TRG LL_RTC_TAMPER_DisableActiveLevel.
- Parameters:
-
RTCx RTC Instance Tamper This parameter can be a combination of the following values: - LL_RTC_TAMPER_ACTIVELEVEL_TAMP1
- LL_RTC_TAMPER_ACTIVELEVEL_TAMP2
- LL_RTC_TAMPER_ACTIVELEVEL_TAMP3
- Return values:
-
None
Definition at line 2971 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 TAMPCR TAMP1NOERASE LL_RTC_TAMPER_DisableEraseBKP
TAMPCR TAMP2NOERASE LL_RTC_TAMPER_DisableEraseBKP
TAMPCR TAMP3NOERASE LL_RTC_TAMPER_DisableEraseBKP.
- Parameters:
-
RTCx RTC Instance Tamper This parameter can be a combination of the following values: - LL_RTC_TAMPER_NOERASE_TAMPER1
- LL_RTC_TAMPER_NOERASE_TAMPER2
- LL_RTC_TAMPER_NOERASE_TAMPER3
- Return values:
-
None
Definition at line 2804 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_TAMPER_DisableMask | ( | RTC_TypeDef * | RTCx, |
uint32_t | Mask | ||
) |
Disable Tamper mask flag TAMPCR TAMP1MF LL_RTC_TAMPER_DisableMask
TAMPCR TAMP2MF LL_RTC_TAMPER_DisableMask
TAMPCR TAMP3MF LL_RTC_TAMPER_DisableMask.
- Parameters:
-
RTCx RTC Instance Mask This parameter can be a combination of the following values: - LL_RTC_TAMPER_MASK_TAMPER1
- LL_RTC_TAMPER_MASK_TAMPER2
- LL_RTC_TAMPER_MASK_TAMPER3
- Return values:
-
None
Definition at line 2768 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) TAMPCR TAMPPUDIS LL_RTC_TAMPER_DisablePullUp.
- Parameters:
-
RTCx RTC Instance
- Return values:
-
None
Definition at line 2816 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_TAMPER_Enable | ( | RTC_TypeDef * | RTCx, |
uint32_t | Tamper | ||
) |
Enable RTC_TAMPx input detection TAMPCR TAMP1E LL_RTC_TAMPER_Enable
TAMPCR TAMP2E LL_RTC_TAMPER_Enable
TAMPCR TAMP3E LL_RTC_TAMPER_Enable.
- Parameters:
-
RTCx RTC Instance Tamper This parameter can be a combination of the following values: - LL_RTC_TAMPER_1
- LL_RTC_TAMPER_2
- LL_RTC_TAMPER_3
- Return values:
-
None
Definition at line 2713 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 TAMPCR TAMP1TRG LL_RTC_TAMPER_EnableActiveLevel
TAMPCR TAMP2TRG LL_RTC_TAMPER_EnableActiveLevel
TAMPCR TAMP3TRG LL_RTC_TAMPER_EnableActiveLevel.
- Parameters:
-
RTCx RTC Instance Tamper This parameter can be a combination of the following values: - LL_RTC_TAMPER_ACTIVELEVEL_TAMP1
- LL_RTC_TAMPER_ACTIVELEVEL_TAMP2
- LL_RTC_TAMPER_ACTIVELEVEL_TAMP3
- Return values:
-
None
Definition at line 2953 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 TAMPCR TAMP1NOERASE LL_RTC_TAMPER_EnableEraseBKP
TAMPCR TAMP2NOERASE LL_RTC_TAMPER_EnableEraseBKP
TAMPCR TAMP3NOERASE LL_RTC_TAMPER_EnableEraseBKP.
- Parameters:
-
RTCx RTC Instance Tamper This parameter can be a combination of the following values: - LL_RTC_TAMPER_NOERASE_TAMPER1
- LL_RTC_TAMPER_NOERASE_TAMPER2
- LL_RTC_TAMPER_NOERASE_TAMPER3
- Return values:
-
None
Definition at line 2786 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. TAMPCR TAMP1MF LL_RTC_TAMPER_EnableMask
TAMPCR TAMP2MF LL_RTC_TAMPER_EnableMask
TAMPCR TAMP3MF LL_RTC_TAMPER_EnableMask
- Parameters:
-
RTCx RTC Instance Mask This parameter can be a combination of the following values: - LL_RTC_TAMPER_MASK_TAMPER1
- LL_RTC_TAMPER_MASK_TAMPER2
- LL_RTC_TAMPER_MASK_TAMPER3
- Return values:
-
None
Definition at line 2750 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) TAMPCR TAMPPUDIS LL_RTC_TAMPER_EnablePullUp.
- Parameters:
-
RTCx RTC Instance
- Return values:
-
None
Definition at line 2827 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetFilterCount | ( | RTC_TypeDef * | RTCx ) |
Get RTC_TAMPx filter count TAMPCR TAMPFLT LL_RTC_TAMPER_GetFilterCount.
- Parameters:
-
RTCx RTC Instance
- Return values:
-
Returned value 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 2893 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetPrecharge | ( | RTC_TypeDef * | RTCx ) |
Get RTC_TAMPx precharge duration TAMPCR TAMPPRCH LL_RTC_TAMPER_GetPrecharge.
- Parameters:
-
RTCx RTC Instance
- Return values:
-
Returned value 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 2860 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_TAMPER_GetSamplingFreq | ( | RTC_TypeDef * | RTCx ) |
Get Tamper sampling frequency TAMPCR TAMPFREQ LL_RTC_TAMPER_GetSamplingFreq.
- Parameters:
-
RTCx RTC Instance
- Return values:
-
Returned value 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 2934 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_TAMPER_SetFilterCount | ( | RTC_TypeDef * | RTCx, |
uint32_t | FilterCount | ||
) |
Set RTC_TAMPx filter count TAMPCR TAMPFLT LL_RTC_TAMPER_SetFilterCount.
- Parameters:
-
RTCx RTC Instance FilterCount This 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 2878 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_TAMPER_SetPrecharge | ( | RTC_TypeDef * | RTCx, |
uint32_t | Duration | ||
) |
Set RTC_TAMPx precharge duration TAMPCR TAMPPRCH LL_RTC_TAMPER_SetPrecharge.
- Parameters:
-
RTCx RTC Instance Duration This 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 2845 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_TAMPER_SetSamplingFreq | ( | RTC_TypeDef * | RTCx, |
uint32_t | SamplingFreq | ||
) |
Set Tamper sampling frequency TAMPCR TAMPFREQ LL_RTC_TAMPER_SetSamplingFreq.
- Parameters:
-
RTCx RTC Instance SamplingFreq This 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 2915 of file stm32l4xx_ll_rtc.h.
Generated on Tue Jul 12 2022 11:00:15 by
