LL_RTC_TIME_Synchronize() function
Synchronize to a remote clock with a high degree of precision.
Arguments
RTCx
RTC Instance
ShiftSecond
Fraction
Number of Seconds Fractions (any value from 0 to 0x7FFF)
Return value
None
Notes
This operation effectively subtracts from (delays) or advance the clock of a fraction of a second. Bit is write-protected. LL_RTC_DisableWriteProtection function should be called before. When REFCKON is set, firmware must not write to Shift control register. SHIFTR SUBFS LL_RTC_TIME_Synchronize
Data read by LL_RTC_TIME_Synchronize()
LL_RTC_TIME_Synchronize()