EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM1581
Real-time clock (RTC)
DocID023800 Rev 1
381/584
19.2.27.4 RTC_WakeUpCmd
Function Name
ErrorStatus RTC_WakeUpCmd ( FunctionalState NewState)
Function Description
Enables or Disables the RTC WakeUp timer.
Parameters
NewState : new state of the WakeUp timer. This parameter
can be: ENABLE or DISABLE.
Return values
None.
Notes
None.
19.2.28 Daylight saving configuration functions
19.2.28.1 RTC_DayLightSavingConfig
Function Name
void RTC_DayLightSavingConfig ( uint32_t
RTC_DayLightSaving, uint32_t RTC_StoreOperation)
Function Description
Adds or substract one hour from the current time.
Parameters
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
Return values
None.
Notes
None.

Table of Contents

Related product manuals