STM8L15x Standard Peripherals Drivers: Daylight Saving configuration functions

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

Daylight Saving configuration functions

Daylight Saving configuration functions. More...

Functions

void RTC_DayLightSavingConfig (RTC_DayLightSaving_TypeDef RTC_DayLightSaving, RTC_StoreOperation_TypeDef RTC_StoreOperation)
 Adds or subtracts one hour from the current time depending on the daylight saving parameter.
RTC_StoreOperation_TypeDef RTC_GetStoreOperation (void)
 Returns the stored operation.

Detailed Description

Daylight Saving configuration functions.

 ===============================================================================
                    Daylight Saving configuration functions
 ===============================================================================  

  This section provide functions allowing to configure the RTC DayLight Saving.


Function Documentation

void RTC_DayLightSavingConfig ( RTC_DayLightSaving_TypeDef  RTC_DayLightSaving,
RTC_StoreOperation_TypeDef  RTC_StoreOperation 
)

Adds or subtracts one hour from the current time depending on the daylight saving parameter.

Parameters:
RTC_DayLightSaving,:the day light saving Mode This parameter can be one of the RTC_DayLightSaving_TypeDef enumeration.
RTC_StoreOperation,:the day light saving store operation This parameter can be one of the RTC_StoreOperation_TypeDef enumeration.
Return values:
None

Definition at line 1516 of file stm8l15x_rtc.c.

References IS_RTC_DAYLIGHT_SAVING, IS_RTC_STORE_OPERATION, RTC, and RTC_CR3_BCK.

RTC_StoreOperation_TypeDef RTC_GetStoreOperation ( void  )

Returns the stored operation.

Parameters:
None
Return values:
thestore operation, this parameter can be one of the RTC_StoreOperation_TypeDef enumeration.

Definition at line 1543 of file stm8l15x_rtc.c.

References RTC, and RTC_CR3_BCK.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com