LL_RTC_WaitForSynchro() function
Waits until the RTC Time and Day registers (RTC_TR and RTC_DR) are synchronized with RTC APB clock.
Arguments
Return value
An ErrorStatus enumeration value: - SUCCESS: RTC registers are synchronised - ERROR: RTC registers are not synchronised
Notes
The RTC Resynchronization mode is write protected, use the LL_RTC_DisableWriteProtection 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.
Functions calling LL_RTC_WaitForSynchro()
Functions called by LL_RTC_WaitForSynchro()
LL_RTC_WaitForSynchro()
Data read by LL_RTC_WaitForSynchro()
Data written by LL_RTC_WaitForSynchro()
LL_RTC_WaitForSynchro()
Type of LL_RTC_WaitForSynchro()
LL_RTC_WaitForSynchro()
uint32_t all items filtered out