Ll_Rtc_Almb_Gettimeformat; Ll_Rtc_Almb_Sethour; Ll_Rtc_Almb_Gethour - ST STM32F2 User Manual

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

Advertisement

UM1940
Return values
Reference Manual to
LL API cross
reference:

LL_RTC_ALMB_GetTimeFormat

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

LL_RTC_ALMB_SetHour

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

LL_RTC_ALMB_GetHour

Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL_RTC_ALMB_TIME_FORMAT_AM
LL_RTC_ALMB_TIME_FORMAT_PM
None:
ALRMBR PM LL_RTC_ALMB_SetTimeFormat
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetTimeFormat
(RTC_TypeDef * RTCx)
Get ALARM B time format (AM or PM notation)
RTCx: RTC Instance
Returned: value can be one of the following values:
LL_RTC_ALMB_TIME_FORMAT_AM
LL_RTC_ALMB_TIME_FORMAT_PM
ALRMBR PM LL_RTC_ALMB_GetTimeFormat
__STATIC_INLINE void LL_RTC_ALMB_SetHour
(RTC_TypeDef * RTCx, uint32_t Hours)
Set ALARM B Hours in BCD format.
RTCx: RTC Instance
Hours: Value between Min_Data=0x01 and Max_Data=0x12
or between Min_Data=0x00 and Max_Data=0x23
None:
helper macro __LL_RTC_CONVERT_BIN2BCD is available
to convert Hours from binary to BCD format
ALRMBR HT LL_RTC_ALMB_SetHour
ALRMBR HU LL_RTC_ALMB_SetHour
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetHour
(RTC_TypeDef * RTCx)
Get ALARM B Hours in BCD format.
RTCx: RTC Instance
Value: between Min_Data=0x01 and Max_Data=0x12 or
between Min_Data=0x00 and Max_Data=0x23
helper macro __LL_RTC_CONVERT_BCD2BIN is available
to convert Hours from BCD to Binary format
ALRMBR HT LL_RTC_ALMB_GetHour
DocID028236 Rev 2
LL RTC Generic Driver
1089/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