STM32F439xx HAL User Manual
Functions
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.
__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.
__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.

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.
Reference Manual to LL API cross reference:
CR WUTE LL_RTC_WAKEUP_Disable
Parameters:
RTCxRTC Instance
Return values:
None

Definition at line 2993 of file stm32f4xx_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.
Reference Manual to LL API cross reference:
CR WUTE LL_RTC_WAKEUP_Enable
Parameters:
RTCxRTC Instance
Return values:
None

Definition at line 2981 of file stm32f4xx_ll_rtc.h.

__STATIC_INLINE uint32_t LL_RTC_WAKEUP_GetAutoReload ( RTC_TypeDef *  RTCx)

Get Wakeup auto-reload value.

Reference Manual to LL API cross reference:
WUTR WUT LL_RTC_WAKEUP_GetAutoReload
Parameters:
RTCxRTC Instance
Return values:
Valuebetween Min_Data=0x00 and Max_Data=0xFFFF

Definition at line 3065 of file stm32f4xx_ll_rtc.h.

__STATIC_INLINE uint32_t LL_RTC_WAKEUP_GetClock ( RTC_TypeDef *  RTCx)

Get Wakeup clock.

Reference Manual to LL API cross reference:
CR WUCKSEL LL_RTC_WAKEUP_GetClock
Parameters:
RTCxRTC Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 3041 of file stm32f4xx_ll_rtc.h.

__STATIC_INLINE uint32_t LL_RTC_WAKEUP_IsEnabled ( RTC_TypeDef *  RTCx)

Check if Wakeup timer is enabled or not.

Reference Manual to LL API cross reference:
CR WUTE LL_RTC_WAKEUP_IsEnabled
Parameters:
RTCxRTC Instance
Return values:
Stateof bit (1 or 0).

Definition at line 3004 of file stm32f4xx_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
Reference Manual to LL API cross reference:
WUTR WUT LL_RTC_WAKEUP_SetAutoReload
Parameters:
RTCxRTC Instance
ValueValue between Min_Data=0x00 and Max_Data=0xFFFF
Return values:
None

Definition at line 3054 of file stm32f4xx_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
Reference Manual to LL API cross reference:
CR WUCKSEL LL_RTC_WAKEUP_SetClock
Parameters:
RTCxRTC Instance
WakeupClockThis parameter can be one of the following values:
Return values:
None

Definition at line 3024 of file stm32f4xx_ll_rtc.h.