19.2.20.8 RTC_RefClockCmd
ErrorStatus RTC_RefClockCmd ( FunctionalState NewState)
Enables or disables the RTC reference clock detection.
NewState : new state of the RTC reference clock. This
parameter can be: ENABLE or DISABLE.
An ErrorStatus enumeration value:
SUCCESS: RTC reference clock detection is enabled
ERROR: RTC reference clock detection is disabled
19.2.20.9 RTC_BypassShadowCmd
void RTC_BypassShadowCmd ( FunctionalState NewState)
Enables or Disables the Bypass Shadow feature.
NewState : new state of the Bypass Shadow feature. This
parameter can be: ENABLE or DISABLE.
When the Bypass Shadow is enabled the calendar value are
taken directly from the Calendar counter.
19.2.21 Backup Data Registers configuration functions
19.2.21.1 RTC_WriteBackupRegister
void RTC_WriteBackupRegister ( uint32_t RTC_BKP_DR,
uint32_t Data)
Writes a data in a specified RTC Backup data register.
RTC_BKP_DR : RTC Backup data Register number. This
parameter can be: RTC_BKP_DRx where x can be from 0 to
19 to specify the register.