STM32F103xB HAL User Manual
Functions
ALARM
RTC Exported Functions

Functions

__STATIC_INLINE void LL_RTC_ALARM_Set (RTC_TypeDef *RTCx, uint32_t AlarmCounter)
 Set Alarm Counter.
__STATIC_INLINE uint32_t LL_RTC_ALARM_Get (RTC_TypeDef *RTCx)
 Get Alarm Counter.

Function Documentation

__STATIC_INLINE uint32_t LL_RTC_ALARM_Get ( RTC_TypeDef *  RTCx)

Get Alarm Counter.

Note:
Bit is write-protected. LL_RTC_DisableWriteProtection function should be called before.
Reference Manual to LL API cross reference:
ALRH ALR LL_RTC_ALARM_Get
Reference Manual to LL API cross reference:
ALRL ALR LL_RTC_ALARM_Get
Parameters:
RTCxRTC Instance
Return values:
None

Definition at line 431 of file stm32f1xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_ALARM_Set ( RTC_TypeDef *  RTCx,
uint32_t  AlarmCounter 
)

Set Alarm Counter.

Note:
Bit is write-protected. LL_RTC_DisableWriteProtection function should be called before.
Reference Manual to LL API cross reference:
ALRH ALR LL_RTC_ALARM_Set
Reference Manual to LL API cross reference:
ALRL ALR LL_RTC_ALARM_Set
Parameters:
RTCxRTC Instance
AlarmCounterValue between Min_Data=0x00 and Max_Data=0xFFFFF
Return values:
None

Definition at line 415 of file stm32f1xx_ll_rtc.h.

Referenced by LL_RTC_ALARM_Init(), and LL_RTC_ALARM_SetCounter().