/* Writes user data to the specified data Backup Register.  */
void BKP_WriteBackupRegister(BKPDR_Typedef bkp_dr, u16 data)
/* Writes user data to the specified data Backup Register.  */
void BKP_WriteBackupRegister(BKPDR_Typedef bkp_dr, u16 data)
{
    *(vu16*)(BKP_BASE + bkp_dr) = data;
}