ST STM32F2 User Manual page 1122

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

Advertisement

LL RTC Generic Driver
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
WEEK DAY
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
Convert helper Macros
__LL_RTC_CONVERT_BIN2BCD
__LL_RTC_CONVERT_BCD2BIN
Date helper Macros
__LL_RTC_GET_WEEKDAY
1122/1371
RTC/16 clock is selected
RTC/8 clock is selected
RTC/4 clock is selected
RTC/2 clock is selected
ck_spre (usually 1 Hz) clock is selected
ck_spre (usually 1 Hz) clock is selected and
2exp16 is added to the WUT counter value
Monday
Tuesday
Wednesday
Thrusday
Friday
Saturday
Sunday
Description:
Helper macro to convert a value from 2 digit
decimal format to BCD format.
Parameters:
__VALUE__: Byte to be converted
Return value:
Converted: byte
Description:
Helper macro to convert a value from BCD format
to 2 digit decimal format.
Parameters:
__VALUE__: BCD value to be converted
Return value:
Converted: byte
Description:
Helper macro to retrieve weekday.
Parameters:
__RTC_DATE__: Date returned by
Return value:
Returned: value can be one of the following values:
LL_RTC_WEEKDAY_MONDAY
DocID028236 Rev 2
UM1940

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