Functions

Shift control synchronisation functions. More...

Collaboration diagram for Shift control synchronisation functions:

Functions

ErrorStatus RTC_SynchroShiftConfig (uint32_t RTC_ShiftAdd1S, uint32_t RTC_ShiftSubFS)
 Configures the Synchronization Shift Control Settings. More...
 

Detailed Description

Shift control synchronisation functions.

 ===============================================================================
              ##### Shift control synchronisation functions #####
 ===============================================================================  

Function Documentation

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_ShiftSubFSSelect the number of Second Fractions to Substitute. This parameter can be one any value from 0 to 0x7FFF.
Return values
AnErrorStatus enumeration value:
  • SUCCESS: RTC Shift registers are configured
  • ERROR: RTC Shift registers are not configured

Definition at line 2437 of file stm32f4xx_rtc.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:29