Shift control synchronisation functions.
More...
Shift control synchronisation functions.
===============================================================================
##### Shift control synchronisation functions #####
===============================================================================
ErrorStatus RTC_SynchroShiftConfig |
( |
uint32_t |
RTC_ShiftAdd1S, |
|
|
uint32_t |
RTC_ShiftSubFS |
|
) |
| |
Configures the Synchronization Shift Control Settings.
- Note
- When REFCKON is set, firmware must not write to Shift control register
- Parameters
-
RTC_ShiftAdd1S | : Select to add or not 1 second to the time Calendar. This parameter can be one of the following values :
- RTC_ShiftAdd1S_Set : Add one second to the clock calendar.
- RTC_ShiftAdd1S_Reset: No effect.
|
RTC_ShiftSubFS | Select the number of Second Fractions to Substitute. This parameter can be one any value from 0 to 0x7FFF. |
- Return values
-
An | ErrorStatus enumeration value:
- SUCCESS: RTC Shift registers are configured
- ERROR: RTC Shift registers are not configured
|
Definition at line 2437 of file stm32f4xx_rtc.c.