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 #1083 background imageLoading...
Page #1083 background image
UM1940
LL RTC Generic Driver
DocID028236 Rev 2
1083/1371
Notes
helper macro __LL_RTC_CONVERT_BIN2BCD is available
to convert Hours from binary to BCD format
Reference Manual to
LL API cross
reference:
ALRMAR HT LL_RTC_ALMA_SetHour
ALRMAR HU LL_RTC_ALMA_SetHour
LL_RTC_ALMA_GetHour
Function name
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetHour
(RTC_TypeDef * RTCx)
Function description
Get ALARM A 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
LL API cross
reference:
ALRMAR HT LL_RTC_ALMA_GetHour
ALRMAR HU LL_RTC_ALMA_GetHour
LL_RTC_ALMA_SetMinute
Function name
__STATIC_INLINE void LL_RTC_ALMA_SetMinute
(RTC_TypeDef * RTCx, uint32_t Minutes)
Function description
Set ALARM A Minutes in BCD format.
Parameters
RTCx: RTC Instance
Minutes: Value between Min_Data=0x00 and
Max_Data=0x59
Return values
None:
Notes
helper macro __LL_RTC_CONVERT_BIN2BCD is available
to convert Minutes from binary to BCD format
Reference Manual to
LL API cross
reference:
ALRMAR MNT LL_RTC_ALMA_SetMinute
ALRMAR MNU LL_RTC_ALMA_SetMinute
LL_RTC_ALMA_GetMinute
Function name
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetMinute
(RTC_TypeDef * RTCx)
Function description
Get ALARM A Minutes in BCD format.
Parameters
RTCx: RTC Instance
Return values
Value: between Min_Data=0x00 and Max_Data=0x59
Notes
helper macro __LL_RTC_CONVERT_BCD2BIN is available
to convert Minutes from BCD to Binary format
Reference Manual to
LL API cross
ALRMAR MNT LL_RTC_ALMA_GetMinute

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