Rev 56 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 56 | Rev 61 | ||
---|---|---|---|
Line 106... | Line 106... | ||
106 | This parameter corresponds to a time unit range between [0-1] Second |
106 | This parameter corresponds to a time unit range between [0-1] Second |
107 | with [1 Sec / SecondFraction +1] granularity. |
107 | with [1 Sec / SecondFraction +1] granularity. |
108 | This field will be used only by HAL_RTC_GetTime function */ |
108 | This field will be used only by HAL_RTC_GetTime function */ |
109 | #endif /* STM32L100xBA || STM32L151xBA || STM32L152xBA || STM32L100xC || STM32L151xC || STM32L152xC || STM32L162xC || STM32L151xCA || STM32L151xD || STM32L152xCA || STM32L152xD || STM32L162xCA || STM32L162xD || STM32L151xE || STM32L151xDX || STM32L152xE || STM32L152xDX || STM32L162xE || STM32L162xDX */ |
109 | #endif /* STM32L100xBA || STM32L151xBA || STM32L152xBA || STM32L100xC || STM32L151xC || STM32L152xC || STM32L162xC || STM32L151xCA || STM32L151xD || STM32L152xCA || STM32L152xD || STM32L162xCA || STM32L162xD || STM32L151xE || STM32L151xDX || STM32L152xE || STM32L152xDX || STM32L162xE || STM32L162xDX */ |
110 | 110 | ||
111 | uint32_t DayLightSaving; /*!< Specifies RTC_DayLightSaveOperation: the value of hour adjustment. |
111 | uint32_t DayLightSaving; /*!< This interface is deprecated. To manage Daylight |
112 | This parameter can be a value of @ref RTC_DayLightSaving_Definitions */ |
112 | Saving Time, please use HAL_RTC_DST_xxx functions */ |
113 | 113 | ||
114 | uint32_t StoreOperation; /*!< Specifies RTC_StoreOperation value to be written in the BCK bit |
114 | uint32_t StoreOperation; /*!< This interface is deprecated. To manage Daylight |
115 | in CR register to store the operation. |
- | |
116 | This parameter can be a value of @ref RTC_StoreOperation_Definitions */ |
115 | Saving Time, please use HAL_RTC_DST_xxx functions */ |
117 | } RTC_TimeTypeDef; |
116 | } RTC_TimeTypeDef; |
118 | 117 | ||
119 | /** |
118 | /** |
120 | * @brief RTC Date structure definition |
119 | * @brief RTC Date structure definition |
121 | */ |
120 | */ |
Line 713... | Line 712... | ||
713 | /* RTC Time and Date functions ************************************************/ |
712 | /* RTC Time and Date functions ************************************************/ |
714 | HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format); |
713 | HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format); |
715 | HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format); |
714 | HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format); |
716 | HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format); |
715 | HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format); |
717 | HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format); |
716 | HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format); |
- | 717 | ||
- | 718 | /* RTC Daylight Saving Time functions *****************************************/ |
|
- | 719 | void HAL_RTC_DST_Add1Hour(RTC_HandleTypeDef *hrtc); |
|
- | 720 | void HAL_RTC_DST_Sub1Hour(RTC_HandleTypeDef *hrtc); |
|
- | 721 | void HAL_RTC_DST_SetStoreOperation(RTC_HandleTypeDef *hrtc); |
|
- | 722 | void HAL_RTC_DST_ClearStoreOperation(RTC_HandleTypeDef *hrtc); |
|
- | 723 | uint32_t HAL_RTC_DST_ReadStoreOperation(RTC_HandleTypeDef *hrtc); |
|
718 | /** |
724 | /** |
719 | * @} |
725 | * @} |
720 | */ |
726 | */ |
721 | 727 | ||
722 | /** @defgroup RTC_Exported_Functions_Group3 RTC Alarm functions |
728 | /** @defgroup RTC_Exported_Functions_Group3 RTC Alarm functions |