UM1940
Reference Manual to
LL API cross
reference:
LL_RTC_DATE_SetWeekDay
Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
LL_RTC_DATE_GetWeekDay
Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:
LL_RTC_DATE_SetMonth
Function name
to convert Year from BCD to Binary format
DR YT LL_RTC_DATE_GetYear
DR YU LL_RTC_DATE_GetYear
__STATIC_INLINE void LL_RTC_DATE_SetWeekDay
(RTC_TypeDef * RTCx, uint32_t WeekDay)
Set Week day.
RTCx: RTC Instance
WeekDay: This parameter can be one of the following
values:
LL_RTC_WEEKDAY_MONDAY
LL_RTC_WEEKDAY_TUESDAY
LL_RTC_WEEKDAY_WEDNESDAY
LL_RTC_WEEKDAY_THURSDAY
LL_RTC_WEEKDAY_FRIDAY
LL_RTC_WEEKDAY_SATURDAY
LL_RTC_WEEKDAY_SUNDAY
None:
DR WDU LL_RTC_DATE_SetWeekDay
__STATIC_INLINE uint32_t LL_RTC_DATE_GetWeekDay
(RTC_TypeDef * RTCx)
Get Week day.
RTCx: RTC Instance
Returned: value can be one of the following values:
LL_RTC_WEEKDAY_MONDAY
LL_RTC_WEEKDAY_TUESDAY
LL_RTC_WEEKDAY_WEDNESDAY
LL_RTC_WEEKDAY_THURSDAY
LL_RTC_WEEKDAY_FRIDAY
LL_RTC_WEEKDAY_SATURDAY
LL_RTC_WEEKDAY_SUNDAY
if shadow mode is disabled (BYPSHAD=0), need to check if
RSF flag is set before reading this bit
DR WDU LL_RTC_DATE_GetWeekDay
__STATIC_INLINE void LL_RTC_DATE_SetMonth
DocID028236 Rev 2
LL RTC Generic Driver
1075/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?