/* Writes a data in a specified RTC Backup data register.  */
void RTC_WriteBackupRegister(uint32_t RTC_BKP_DR, uint32_t Data)
/* Writes a data in a specified RTC Backup data register.  */
void RTC_WriteBackupRegister(uint32_t RTC_BKP_DR, uint32_t Data)
{
    __IO uint32_t tmp = 0;
    assert_param(IS_RTC_BKP(RTC_BKP_DR));
    tmp = RTC_BASE + 0x50;
    tmp += (RTC_BKP_DR * 4);
    *(__IO uint32_t *)tmp = (uint32_t)Data;
}