/* Adds or substract one hour from the current time.  */
void RTC_DayLightSavingConfig(uint32_t RTC_DayLightSaving, uint32_t RTC_StoreOperation)
/* Adds or substract one hour from the current time.  */
void RTC_DayLightSavingConfig(uint32_t RTC_DayLightSaving, uint32_t RTC_StoreOperation)
{
    assert_param(IS_RTC_DAYLIGHT_SAVING(RTC_DayLightSaving));
    assert_param(IS_RTC_STORE_OPERATION(RTC_StoreOperation));
    RTC->WPR = 0xFF;
    RTC->WPR = 0xCA;
    RTC->WPR = 0x53;
    RTC->CR &= (uint32_t)~(RTC_CR_BCK);
    RTC->CR |= (uint32_t)(RTC_DayLightSaving | RTC_StoreOperation);
    RTC->WPR = 0xFF;
}