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.
Fork of TUKS-COURSE-TIMER 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 3004 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 2992 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:
-
Value between Min_Data=0x00 and Max_Data=0xFFFF
Definition at line 3076 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 3052 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 3015 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 Value between Min_Data=0x00 and Max_Data=0xFFFF
- Return values:
-
None
Definition at line 3065 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 3035 of file stm32l4xx_ll_rtc.h.
Generated on Tue Jul 12 2022 17:38:58 by
1.7.2
