Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
Wakeup
[RTC Exported Functions]
Functions | |
__STATIC_INLINE void | LL_RTC_WAKEUP_Enable (RTC_TypeDef *RTCx) |
Enable Wakeup timer. | |
__STATIC_INLINE void | LL_RTC_WAKEUP_Disable (RTC_TypeDef *RTCx) |
Disable Wakeup timer. | |
__STATIC_INLINE uint32_t | LL_RTC_WAKEUP_IsEnabled (RTC_TypeDef *RTCx) |
Check if Wakeup timer is enabled or not CR WUTE LL_RTC_WAKEUP_IsEnabled. | |
__STATIC_INLINE void | LL_RTC_WAKEUP_SetClock (RTC_TypeDef *RTCx, uint32_t WakeupClock) |
Select Wakeup clock. | |
__STATIC_INLINE uint32_t | LL_RTC_WAKEUP_GetClock (RTC_TypeDef *RTCx) |
Get Wakeup clock CR WUCKSEL LL_RTC_WAKEUP_GetClock. | |
__STATIC_INLINE void | LL_RTC_WAKEUP_SetAutoReload (RTC_TypeDef *RTCx, uint32_t Value) |
Set Wakeup auto-reload value. | |
__STATIC_INLINE uint32_t | LL_RTC_WAKEUP_GetAutoReload (RTC_TypeDef *RTCx) |
Get Wakeup auto-reload value WUTR WUT LL_RTC_WAKEUP_GetAutoReload. |
Function Documentation
__STATIC_INLINE void LL_RTC_WAKEUP_Disable | ( | RTC_TypeDef * | RTCx ) |
Disable Wakeup timer.
- Note:
- Bit is write-protected. LL_RTC_DisableWriteProtection function should be called before. CR WUTE LL_RTC_WAKEUP_Disable
- Parameters:
-
RTCx RTC Instance
- Return values:
-
None
Definition at line 2809 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_WAKEUP_Enable | ( | RTC_TypeDef * | RTCx ) |
Enable Wakeup timer.
- Note:
- Bit is write-protected. LL_RTC_DisableWriteProtection function should be called before. CR WUTE LL_RTC_WAKEUP_Enable
- Parameters:
-
RTCx RTC Instance
- Return values:
-
None
Definition at line 2797 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_WAKEUP_GetAutoReload | ( | RTC_TypeDef * | RTCx ) |
Get Wakeup auto-reload value WUTR WUT LL_RTC_WAKEUP_GetAutoReload.
- Parameters:
-
RTCx RTC Instance
- Return values:
-
0. . .0xFFFF
Definition at line 2881 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_WAKEUP_GetClock | ( | RTC_TypeDef * | RTCx ) |
Get Wakeup clock CR WUCKSEL LL_RTC_WAKEUP_GetClock.
- Parameters:
-
RTCx RTC Instance
- Return values:
-
Returned value can be one of the following values: - LL_RTC_WAKEUPCLOCK_DIV_16
- LL_RTC_WAKEUPCLOCK_DIV_8
- LL_RTC_WAKEUPCLOCK_DIV_4
- LL_RTC_WAKEUPCLOCK_DIV_2
- LL_RTC_WAKEUPCLOCK_CKSPRE
- LL_RTC_WAKEUPCLOCK_CKSPRE_WUT
Definition at line 2857 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_WAKEUP_IsEnabled | ( | RTC_TypeDef * | RTCx ) |
Check if Wakeup timer is enabled or not CR WUTE LL_RTC_WAKEUP_IsEnabled.
- Parameters:
-
RTCx RTC Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 2820 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_WAKEUP_SetAutoReload | ( | RTC_TypeDef * | RTCx, |
uint32_t | Value | ||
) |
Set Wakeup auto-reload value.
- Note:
- Bit can be written only when WUTWF is set to 1 in RTC_ISR WUTR WUT LL_RTC_WAKEUP_SetAutoReload
- Parameters:
-
RTCx RTC Instance Value 0. . .0xFFFF
- Return values:
-
None
Definition at line 2870 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_WAKEUP_SetClock | ( | RTC_TypeDef * | RTCx, |
uint32_t | WakeupClock | ||
) |
Select Wakeup clock.
- Note:
- Bit is write-protected. LL_RTC_DisableWriteProtection function should be called before.
- Bit can be written only when RTC_CR WUTE bit = 0 and RTC_ISR WUTWF bit = 1 CR WUCKSEL LL_RTC_WAKEUP_SetClock
- Parameters:
-
RTCx RTC Instance WakeupClock This parameter can be one of the following values: - LL_RTC_WAKEUPCLOCK_DIV_16
- LL_RTC_WAKEUPCLOCK_DIV_8
- LL_RTC_WAKEUPCLOCK_DIV_4
- LL_RTC_WAKEUPCLOCK_DIV_2
- LL_RTC_WAKEUPCLOCK_CKSPRE
- LL_RTC_WAKEUPCLOCK_CKSPRE_WUT
- Return values:
-
None
Definition at line 2840 of file stm32l4xx_ll_rtc.h.
Generated on Tue Jul 12 2022 11:35:25 by
