Ll_Rtc_Alma_Getday; Ll_Rtc_Alma_Setweekday; Ll_Rtc_Alma_Getweekday - ST STM32F2 User Manual

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

Advertisement

UM1940
Notes
Reference Manual to
LL API cross
reference:

LL_RTC_ALMA_GetDay

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

LL_RTC_ALMA_SetWeekDay

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

LL_RTC_ALMA_GetWeekDay

Function name
Function description
Parameters
Return values
helper macro __LL_RTC_CONVERT_BIN2BCD is available
to convert Day from binary to BCD format
ALRMAR DT LL_RTC_ALMA_SetDay
ALRMAR DU LL_RTC_ALMA_SetDay
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetDay
(RTC_TypeDef * RTCx)
Get ALARM A Day in BCD format.
RTCx: RTC Instance
Value: between Min_Data=0x01 and Max_Data=0x31
helper macro __LL_RTC_CONVERT_BCD2BIN is available
to convert Day from BCD to Binary format
ALRMAR DT LL_RTC_ALMA_GetDay
ALRMAR DU LL_RTC_ALMA_GetDay
__STATIC_INLINE void LL_RTC_ALMA_SetWeekDay
(RTC_TypeDef * RTCx, uint32_t WeekDay)
Set ALARM A Weekday.
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:
ALRMAR DU LL_RTC_ALMA_SetWeekDay
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetWeekDay
(RTC_TypeDef * RTCx)
Get ALARM A Weekday.
RTCx: RTC Instance
Returned: value can be one of the following values:
LL_RTC_WEEKDAY_MONDAY
DocID028236 Rev 2
LL RTC Generic Driver
1081/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?

Questions and answers

Table of Contents

Save PDF