EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1089 background imageLoading...
Page #1089 background image
UM1940
LL RTC Generic Driver
DocID028236 Rev 2
1089/1371
LL_RTC_ALMB_TIME_FORMAT_AM
LL_RTC_ALMB_TIME_FORMAT_PM
Return values
None:
Reference Manual to
LL API cross
reference:
ALRMBR PM LL_RTC_ALMB_SetTimeFormat
LL_RTC_ALMB_GetTimeFormat
Function name
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetTimeFormat
(RTC_TypeDef * RTCx)
Function description
Get ALARM B time format (AM or PM notation)
Parameters
RTCx: RTC Instance
Return values
Returned: value can be one of the following values:
LL_RTC_ALMB_TIME_FORMAT_AM
LL_RTC_ALMB_TIME_FORMAT_PM
Reference Manual to
LL API cross
reference:
ALRMBR PM LL_RTC_ALMB_GetTimeFormat
LL_RTC_ALMB_SetHour
Function name
__STATIC_INLINE void LL_RTC_ALMB_SetHour
(RTC_TypeDef * RTCx, uint32_t Hours)
Function description
Set ALARM B Hours in BCD format.
Parameters
RTCx: RTC Instance
Hours: Value between Min_Data=0x01 and Max_Data=0x12
or between Min_Data=0x00 and Max_Data=0x23
Return values
None:
Notes
helper macro __LL_RTC_CONVERT_BIN2BCD is available
to convert Hours from binary to BCD format
Reference Manual to
LL API cross
reference:
ALRMBR HT LL_RTC_ALMB_SetHour
ALRMBR HU LL_RTC_ALMB_SetHour
LL_RTC_ALMB_GetHour
Function name
__STATIC_INLINE uint32_t LL_RTC_ALMB_GetHour
(RTC_TypeDef * RTCx)
Function description
Get ALARM B Hours in BCD format.
Parameters
RTCx: RTC Instance
Return values
Value: between Min_Data=0x01 and Max_Data=0x12 or
between Min_Data=0x00 and Max_Data=0x23
Notes
helper macro __LL_RTC_CONVERT_BCD2BIN is available
to convert Hours from BCD to Binary format
Reference Manual to
ALRMBR HT LL_RTC_ALMB_GetHour

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals