HAL
LL_RTC_ALMB_SetHour() is only used within HAL.
 
Symbols
loading...
Files
loading...

LL_RTC_ALMB_SetHour() function

Set ALARM B Hours in BCD format

Syntax

__STATIC_INLINE void LL_RTC_ALMB_SetHour(RTC_TypeDef *RTCx,     uint32_t Hours);

Arguments

RTCx

RTC Instance

Hours

Value between Min_Data=0x01 and Max_Data=0x12 or between Min_Data=0x00 and Max_Data=0x23

Return value

None

Notes

helper macro __LL_RTC_CONVERT_BIN2BCD is available to convert Hours from binary to BCD format ALRMBR HU LL_RTC_ALMB_SetHour

References

LocationText
stm32f4xx_ll_rtc.h:2104
__STATIC_INLINE void LL_RTC_ALMB_SetHour(RTC_TypeDef *RTCx, uint32_t Hours)

Data Use

Data read by LL_RTC_ALMB_SetHour()
LL_RTC_ALMB_SetHour()