/* Initializes the BKP peripheral, enable access to the backup registers.  */
void exBKP_Init(void)
/* Initializes the BKP peripheral, enable access to the backup registers.  */
void exBKP_Init(void)
{
    RCC_APB1PeriphClockCmd(RCC_APB1ENR_PWR, ENABLE);
    RCC_APB1PeriphClockCmd(RCC_APB1ENR_BKP, ENABLE);
    RCC->BDCR |= RCC_BDCR_DBP;
}