Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more
Daylight Saving configuration functions
[RTC_Private_Functions]
Daylight Saving configuration functions. More...
Functions | |
void | RTC_DayLightSavingConfig (uint32_t RTC_DayLightSaving, uint32_t RTC_StoreOperation) |
Adds or substract one hour from the current time. | |
uint32_t | RTC_GetStoreOperation (void) |
Returns the RTC Day Light Saving 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 | ( | 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:
-
None
Definition at line 1591 of file stm32f30x_rtc.c.
uint32_t RTC_GetStoreOperation | ( | void | ) |
Returns the RTC Day Light Saving stored operation.
- Parameters:
-
None
- Return values:
-
RTC Day Light Saving stored operation. - RTC_StoreOperation_Reset
- RTC_StoreOperation_Set
Definition at line 1618 of file stm32f30x_rtc.c.
Generated on Tue Jul 12 2022 17:34:46 by
