This function handles AlarmA Polling request.
hrtc: pointer to a RTC_HandleTypeDef structure that
contains the configuration information for RTC.
Timeout: Timeout duration
HAL_RTC_AlarmAEventCallback
void HAL_RTC_AlarmAEventCallback (RTC_HandleTypeDef *
hrtc)
hrtc: pointer to a RTC_HandleTypeDef structure that
contains the configuration information for RTC.
HAL_RTC_WaitForSynchro
HAL_StatusTypeDef HAL_RTC_WaitForSynchro
(RTC_HandleTypeDef * hrtc)
Waits until the RTC Time and Date registers (RTC_TR and
RTC_DR) are synchronized with RTC APB clock.
hrtc: pointer to a RTC_HandleTypeDef structure that
contains the configuration information for RTC.
The RTC Resynchronization mode is write protected, use the
__HAL_RTC_WRITEPROTECTION_DISABLE() before
calling this function.
To read the calendar through the shadow registers after
Calendar initialization, calendar update or after wake-up from
low power modes the software must first clear the RSF flag.
The software must then wait until it is set again before reading
the calendar, which means that the calendar registers have
been correctly copied into the RTC_TR and RTC_DR shadow
registers.
HAL_RTC_GetState
HAL_RTCStateTypeDef HAL_RTC_GetState
(RTC_HandleTypeDef * hrtc)
hrtc: pointer to a RTC_HandleTypeDef structure that
contains the configuration information for RTC.
RTC_EnterInitMode
HAL_StatusTypeDef RTC_EnterInitMode