Ll_Rtc_Alma_Gethour; Ll_Rtc_Alma_Setminute; Ll_Rtc_Alma_Getminute - 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_GetHour

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

LL_RTC_ALMA_SetMinute

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

LL_RTC_ALMA_GetMinute

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