HAL
LL_RTC_DATE_Get() is only used within HAL.
 
Symbols
loading...
Files
loading...

LL_RTC_DATE_Get() function

Get date (WeekDay, Day, Month and Year) in BCD format

Syntax

__STATIC_INLINE uint32_t LL_RTC_DATE_Get(RTC_TypeDef *RTCx);

Arguments

RTCx

RTC Instance

Return value

Combination of WeekDay, Day, Month and Year (Format: 0xWWDDMMYY).

Notes

if RTC shadow registers are not bypassed (BYPSHAD=0), need to check if RSF flag is set before reading this bit helper macros __LL_RTC_GET_WEEKDAY, __LL_RTC_GET_YEAR, __LL_RTC_GET_MONTH, and __LL_RTC_GET_DAY are available to get independently each parameter. DR MT LL_RTC_DATE_Get\n DR MU LL_RTC_DATE_Get\n DR DT LL_RTC_DATE_Get\n DR DU LL_RTC_DATE_Get\n DR YT LL_RTC_DATE_Get\n DR YU LL_RTC_DATE_Get

References

LocationText
stm32f4xx_ll_rtc.h:1528
__STATIC_INLINE uint32_t LL_RTC_DATE_Get(RTC_TypeDef *RTCx)

Data Use

Data read by LL_RTC_DATE_Get()
Data written by LL_RTC_DATE_Get()
LL_RTC_DATE_Get()::temp
all items filtered out
LL_RTC_DATE_Get()
LL_RTC_DATE_Get()::temp
all items filtered out
Type of LL_RTC_DATE_Get()
LL_RTC_DATE_Get()
uint32_t
all items filtered out