STM32F4xx_HAL_Driver  1.8.3
+ Collaboration diagram for Wakeup:

Functions

__STATIC_INLINE void LL_RTC_WAKEUP_Enable (RTC_TypeDef *RTCx)
 Enable Wakeup timer. More...
 
__STATIC_INLINE void LL_RTC_WAKEUP_Disable (RTC_TypeDef *RTCx)
 Disable Wakeup timer. More...
 
__STATIC_INLINE uint32_t LL_RTC_WAKEUP_IsEnabled (RTC_TypeDef *RTCx)
 Check if Wakeup timer is enabled or not @rmtoll CR WUTE LL_RTC_WAKEUP_IsEnabled. More...
 
__STATIC_INLINE void LL_RTC_WAKEUP_SetClock (RTC_TypeDef *RTCx, uint32_t WakeupClock)
 Select Wakeup clock. More...
 
__STATIC_INLINE uint32_t LL_RTC_WAKEUP_GetClock (RTC_TypeDef *RTCx)
 Get Wakeup clock @rmtoll CR WUCKSEL LL_RTC_WAKEUP_GetClock. More...
 
__STATIC_INLINE void LL_RTC_WAKEUP_SetAutoReload (RTC_TypeDef *RTCx, uint32_t Value)
 Set Wakeup auto-reload value. More...
 
__STATIC_INLINE uint32_t LL_RTC_WAKEUP_GetAutoReload (RTC_TypeDef *RTCx)
 Get Wakeup auto-reload value @rmtoll WUTR WUT LL_RTC_WAKEUP_GetAutoReload. More...
 

Detailed Description

Function Documentation

◆ LL_RTC_WAKEUP_Disable()

__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. @rmtoll CR WUTE LL_RTC_WAKEUP_Disable
Parameters
RTCxRTC Instance
Return values
None

Definition at line 2810 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_WAKEUP_Enable()

__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. @rmtoll CR WUTE LL_RTC_WAKEUP_Enable
Parameters
RTCxRTC Instance
Return values
None

Definition at line 2798 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_WAKEUP_GetAutoReload()

__STATIC_INLINE uint32_t LL_RTC_WAKEUP_GetAutoReload ( RTC_TypeDef *  RTCx)

Get Wakeup auto-reload value @rmtoll WUTR WUT LL_RTC_WAKEUP_GetAutoReload.

Parameters
RTCxRTC Instance
Return values
Valuebetween Min_Data=0x00 and Max_Data=0xFFFF

Definition at line 2882 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_WAKEUP_GetClock()

__STATIC_INLINE uint32_t LL_RTC_WAKEUP_GetClock ( RTC_TypeDef *  RTCx)

Get Wakeup clock @rmtoll CR WUCKSEL LL_RTC_WAKEUP_GetClock.

Parameters
RTCxRTC Instance
Return values
Returnedvalue 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 2858 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_WAKEUP_IsEnabled()

__STATIC_INLINE uint32_t LL_RTC_WAKEUP_IsEnabled ( RTC_TypeDef *  RTCx)

Check if Wakeup timer is enabled or not @rmtoll CR WUTE LL_RTC_WAKEUP_IsEnabled.

Parameters
RTCxRTC Instance
Return values
Stateof bit (1 or 0).

Definition at line 2821 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_WAKEUP_SetAutoReload()

__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 @rmtoll WUTR WUT LL_RTC_WAKEUP_SetAutoReload
Parameters
RTCxRTC Instance
ValueValue between Min_Data=0x00 and Max_Data=0xFFFF
Return values
None

Definition at line 2871 of file stm32f4xx_ll_rtc.h.

◆ LL_RTC_WAKEUP_SetClock()

__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 @rmtoll CR WUCKSEL LL_RTC_WAKEUP_SetClock
Parameters
RTCxRTC Instance
WakeupClockThis 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 2841 of file stm32f4xx_ll_rtc.h.