Ll_Rtc_Alma_Settimeformat; Ll_Rtc_Alma_Gettimeformat; Ll_Rtc_Alma_Sethour - ST STM32F2 User Manual

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

Advertisement

LL RTC Generic Driver
Reference Manual to
LL API cross
reference:

LL_RTC_ALMA_SetTimeFormat

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

LL_RTC_ALMA_GetTimeFormat

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

LL_RTC_ALMA_SetHour

Function name
Function description
Parameters
Return values
1082/1371
LL_RTC_WEEKDAY_TUESDAY
LL_RTC_WEEKDAY_WEDNESDAY
LL_RTC_WEEKDAY_THURSDAY
LL_RTC_WEEKDAY_FRIDAY
LL_RTC_WEEKDAY_SATURDAY
LL_RTC_WEEKDAY_SUNDAY
ALRMAR DU LL_RTC_ALMA_GetWeekDay
__STATIC_INLINE void LL_RTC_ALMA_SetTimeFormat
(RTC_TypeDef * RTCx, uint32_t TimeFormat)
Set Alarm A time format (AM/24-hour or PM notation)
RTCx: RTC Instance
TimeFormat: This parameter can be one of the following
values:
LL_RTC_ALMA_TIME_FORMAT_AM
LL_RTC_ALMA_TIME_FORMAT_PM
None:
ALRMAR PM LL_RTC_ALMA_SetTimeFormat
__STATIC_INLINE uint32_t LL_RTC_ALMA_GetTimeFormat
(RTC_TypeDef * RTCx)
Get Alarm A time format (AM or PM notation)
RTCx: RTC Instance
Returned: value can be one of the following values:
LL_RTC_ALMA_TIME_FORMAT_AM
LL_RTC_ALMA_TIME_FORMAT_PM
ALRMAR PM LL_RTC_ALMA_GetTimeFormat
__STATIC_INLINE void LL_RTC_ALMA_SetHour
(RTC_TypeDef * RTCx, uint32_t Hours)
Set ALARM A 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:
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?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF