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.