Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more
Shift control synchronisation functions
[RTC_Private_Functions]
Shift control synchronisation functions. More...
Functions | |
| ErrorStatus | RTC_SynchroShiftConfig (uint32_t RTC_ShiftAdd1S, uint32_t RTC_ShiftSubFS) |
| Configures the Synchronization Shift Control Settings. | |
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_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 2270 of file stm32f30x_rtc.c.
Generated on Tue Jul 12 2022 17:34:46 by
1.7.2