Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
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 TAMP1_TRG LL_RTC_TAMPER_EnableActiveLevel TAMPCR TAMP2_TRG LL_RTC_TAMPER_EnableActiveLevel TAMPCR TAMP3_TRG LL_RTC_TAMPER_EnableActiveLevel. | |
__STATIC_INLINE void | LL_RTC_TAMPER_DisableActiveLevel (RTC_TypeDef *RTCx, uint32_t Tamper) |
Disable Active level for Tamper input TAMPCR TAMP1_TRG LL_RTC_TAMPER_DisableActiveLevel TAMPCR TAMP2_TRG LL_RTC_TAMPER_DisableActiveLevel TAMPCR TAMP3_TRG 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 (*) (*) value not defined in all devices.
- Return values:
-
None
Definition at line 2545 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 TAMP1_TRG LL_RTC_TAMPER_DisableActiveLevel
TAMPCR TAMP2_TRG LL_RTC_TAMPER_DisableActiveLevel
TAMPCR TAMP3_TRG 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 (*) (*) value not defined in all devices.
- Return values:
-
None
Definition at line 2777 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 (*) (*) value not defined in all devices.
- Return values:
-
None
Definition at line 2618 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 (*) (*) value not defined in all devices.
- Return values:
-
None
Definition at line 2582 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 2629 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 (*) (*) value not defined in all devices.
- Return values:
-
None
Definition at line 2527 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 TAMP1_TRG LL_RTC_TAMPER_EnableActiveLevel
TAMPCR TAMP2_TRG LL_RTC_TAMPER_EnableActiveLevel
TAMPCR TAMP3_TRG 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 (*) (*) value not defined in all devices.
- Return values:
-
None
Definition at line 2759 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 (*) (*) value not defined in all devices.
- Return values:
-
None
Definition at line 2600 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 (*) (*) value not defined in all devices.
- Return values:
-
None
Definition at line 2564 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 2640 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 2702 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 2671 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 2741 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 2687 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 2656 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 2722 of file stm32l4xx_ll_rtc.h.
Generated on Tue Jul 12 2022 11:35:25 by
