CARME-M4 BSP  V1.5
Daylight Saving configuration functions

Daylight Saving configuration functions. More...

+ Collaboration diagram for Daylight Saving configuration functions:

Functions

void RTC_DayLightSavingConfig (uint32_t RTC_DayLightSaving, uint32_t RTC_StoreOperation)
 Adds or substract one hour from the current time. More...
 
uint32_t RTC_GetStoreOperation (void)
 Returns the RTC Day Light Saving stored operation. More...
 

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 ( uint32_t  RTC_DayLightSaving,
uint32_t  RTC_StoreOperation 
)

Adds or substract one hour from the current time.

Parameters
RTC_DayLightSaveOperationthe 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_StoreOperationSpecifies 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

Definition at line 1631 of file stm32f4xx_rtc.c.

uint32_t RTC_GetStoreOperation ( void  )

Returns the RTC Day Light Saving stored operation.

Parameters
None
Return values
RTCDay Light Saving stored operation.
  • RTC_StoreOperation_Reset
  • RTC_StoreOperation_Set

Definition at line 1658 of file stm32f4xx_rtc.c.