Ll_Rtc_Ts_Getweekday; Ll_Rtc_Ts_Getmonth; Ll_Rtc_Ts_Getday - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

UM1940

LL_RTC_TS_GetWeekDay

Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:

LL_RTC_TS_GetMonth

Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:

LL_RTC_TS_GetDay

Function name
Function description
__STATIC_INLINE uint32_t LL_RTC_TS_GetWeekDay
(RTC_TypeDef * RTCx)
Get Timestamp 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
TSDR WDU LL_RTC_TS_GetWeekDay
__STATIC_INLINE uint32_t LL_RTC_TS_GetMonth
(RTC_TypeDef * RTCx)
Get Timestamp Month in BCD format.
RTCx: RTC Instance
Returned: value can be one of the following values:
LL_RTC_MONTH_JANUARY
LL_RTC_MONTH_FEBRUARY
LL_RTC_MONTH_MARCH
LL_RTC_MONTH_APRIL
LL_RTC_MONTH_MAY
LL_RTC_MONTH_JUNE
LL_RTC_MONTH_JULY
LL_RTC_MONTH_AUGUST
LL_RTC_MONTH_SEPTEMBER
LL_RTC_MONTH_OCTOBER
LL_RTC_MONTH_NOVEMBER
LL_RTC_MONTH_DECEMBER
helper macro __LL_RTC_CONVERT_BCD2BIN is available
to convert Month from BCD to Binary format
TSDR MT LL_RTC_TS_GetMonth
TSDR MU LL_RTC_TS_GetMonth
__STATIC_INLINE uint32_t LL_RTC_TS_GetDay
(RTC_TypeDef * RTCx)
Get Timestamp Day in BCD format.
DocID028236 Rev 2
LL RTC Generic Driver
1095/1371

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Table of Contents

Save PDF