39.2.9 Peripheral Control functions
This subsection provides functions allowing to
Wait for RTC Time and Date Synchronization
This section contains the following APIs:
HAL_RTC_WaitForSynchro()
39.2.10 Peripheral State functions
This subsection provides functions allowing to
Get RTC state
This section contains the following APIs:
HAL_RTC_GetState()
39.2.11 Detailed description of functions
HAL_RTC_Init
HAL_StatusTypeDef HAL_RTC_Init (RTC_HandleTypeDef *
hrtc)
Initializes the RTC peripheral.
hrtc: pointer to a RTC_HandleTypeDef structure that
contains the configuration information for RTC.
HAL_RTC_DeInit
HAL_StatusTypeDef HAL_RTC_DeInit (RTC_HandleTypeDef *
hrtc)
DeInitializes the RTC peripheral.
hrtc: pointer to a RTC_HandleTypeDef structure that
contains the configuration information for RTC.
This function doesn't reset the RTC Backup Data registers.
HAL_RTC_MspInit
void HAL_RTC_MspInit (RTC_HandleTypeDef * hrtc)
hrtc: pointer to a RTC_HandleTypeDef structure that
contains the configuration information for RTC.
HAL_RTC_MspDeInit
void HAL_RTC_MspDeInit (RTC_HandleTypeDef * hrtc)