19.2.27.4 RTC_WakeUpCmd
ErrorStatus RTC_WakeUpCmd ( FunctionalState NewState)
Enables or Disables the RTC WakeUp timer.
ï‚· NewState : new state of the WakeUp timer. This parameter
can be: ENABLE or DISABLE.
19.2.28 Daylight saving configuration functions
19.2.28.1 RTC_DayLightSavingConfig
void RTC_DayLightSavingConfig ( uint32_t
RTC_DayLightSaving, uint32_t RTC_StoreOperation)
Adds or substract one hour from the current time.
ï‚· RTC_DayLightSaveOperation : the value of hour
adjustment. This parameter can be one of the following
values:
ï€ RTC_DayLightSaving_SUB1H : Substract one hour
(winter time)
ï€ RTC_DayLightSaving_ADD1H : Add one hour
(summer time)
ï‚· RTC_StoreOperation : Specifies the value to be written in
the BCK bit in CR register to store the operation. This
parameter can be one of the following values:
ï€ RTC_StoreOperation_Reset : BCK Bit Reset
ï€ RTC_StoreOperation_Set : BCK Bit Set