Daylight Saving configuration functions.
More...
Daylight Saving configuration functions.
===============================================================================
Daylight Saving configuration functions
===============================================================================
This section provide functions allowing to configure the RTC DayLight Saving.
void RTC_DayLightSavingConfig |
( |
uint32_t |
RTC_DayLightSaving, |
|
|
uint32_t |
RTC_StoreOperation |
|
) |
| |
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
-
uint32_t RTC_GetStoreOperation |
( |
void |
| ) |
|
Returns the RTC Day Light Saving stored operation.
- Parameters
-
- Return values
-
RTC | Day Light Saving stored operation.
- RTC_StoreOperation_Reset
- RTC_StoreOperation_Set
|