Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
Peripheral Control functions
[RTC Exported Functions]
Peripheral Control functions. More...
Functions | |
HAL_StatusTypeDef | HAL_RTC_WaitForSynchro (RTC_HandleTypeDef *hrtc) |
Wait until the RTC Time and Date registers (RTC_TR and RTC_DR) are synchronized with RTC APB clock. |
Detailed Description
Peripheral Control functions.
=============================================================================== ##### Peripheral Control functions ##### =============================================================================== [..] This subsection provides functions allowing to (+) Wait for RTC Time and Date Synchronization
Function Documentation
HAL_StatusTypeDef HAL_RTC_WaitForSynchro | ( | RTC_HandleTypeDef * | hrtc ) |
Wait until the RTC Time and Date registers (RTC_TR and RTC_DR) are synchronized with RTC APB clock.
- Note:
- 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 wakeup 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.
- Parameters:
-
hrtc,: RTC handle
- Return values:
-
HAL status
Definition at line 1385 of file stm32l4xx_hal_rtc.c.
Generated on Tue Jul 12 2022 11:35:30 by
