HAL_RTCEx_SetSynchroShift() function
Configures the Synchronization Shift Control Settings.
Arguments
hrtc
pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC.
ShiftAdd1S
Select to add or not 1 second to the time calendar. This parameter can be one of the following values: @arg RTC_SHIFTADD1S_SET: Add one second to the clock calendar. @arg RTC_SHIFTADD1S_RESET: No effect.
ShiftSubFS
Select the number of Second Fractions to substitute. This parameter can be one any value from 0 to 0x7FFF.
Return value
HAL status
Notes
When REFCKON is set, firmware must not write to Shift control register.
Functions called by HAL_RTCEx_SetSynchroShift()
HAL_RTCEx_SetSynchroShift()
assert_failed() all items filtered out
Data read by HAL_RTCEx_SetSynchroShift()
Data written by HAL_RTCEx_SetSynchroShift()
HAL_RTCEx_SetSynchroShift()::tickstart all items filtered out
HAL_RTCEx_SetSynchroShift()
HAL_RTCEx_SetSynchroShift()::tickstart all items filtered out
Type of HAL_RTCEx_SetSynchroShift()
HAL_RTCEx_SetSynchroShift()
uint32_t all items filtered out