Subversion Repositories FuelGauge

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 6
Line 104... Line 104...
104
                                 corresponding to Synchronous pre-scaler factor value (PREDIV_S)
104
                                 corresponding to Synchronous pre-scaler factor value (PREDIV_S)
105
                                 This parameter corresponds to a time unit range between [0-1] Second
105
                                 This parameter corresponds to a time unit range between [0-1] Second
106
                                 with [1 Sec / SecondFraction +1] granularity.
106
                                 with [1 Sec / SecondFraction +1] granularity.
107
                                 This field will be used only by HAL_RTC_GetTime function */
107
                                 This field will be used only by HAL_RTC_GetTime function */
108
 
108
 
109
  uint32_t DayLightSaving;  /*!< Specifies RTC_DayLightSaveOperation: the value of hour adjustment.
109
  uint32_t DayLightSaving;  /*!< This interface is deprecated. To manage Daylight
110
                                 This parameter can be a value of @ref RTC_DayLightSaving_Definitions */
110
                                 Saving Time, please use HAL_RTC_DST_xxx functions */
111
 
111
 
112
  uint32_t StoreOperation;  /*!< Specifies RTC_StoreOperation value to be written in the BCK bit
112
  uint32_t StoreOperation;  /*!< This interface is deprecated. To manage Daylight
113
                                 in CR register to store the operation.
-
 
114
                                 This parameter can be a value of @ref RTC_StoreOperation_Definitions */
113
                                 Saving Time, please use HAL_RTC_DST_xxx functions */
115
} RTC_TimeTypeDef;
114
} RTC_TimeTypeDef;
116
 
115
 
117
/**
116
/**
118
  * @brief  RTC Date structure definition
117
  * @brief  RTC Date structure definition
119
  */
118
  */
Line 672... Line 671...
672
/* RTC Time and Date functions ************************************************/
671
/* RTC Time and Date functions ************************************************/
673
HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format);
672
HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format);
674
HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format);
673
HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format);
675
HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format);
674
HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format);
676
HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format);
675
HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format);
-
 
676
 
-
 
677
 
-
 
678
/* RTC Daylight Saving Time functions *****************************************/
-
 
679
void              HAL_RTC_DST_Add1Hour(RTC_HandleTypeDef *hrtc);
-
 
680
void              HAL_RTC_DST_Sub1Hour(RTC_HandleTypeDef *hrtc);
-
 
681
void              HAL_RTC_DST_SetStoreOperation(RTC_HandleTypeDef *hrtc);
-
 
682
void              HAL_RTC_DST_ClearStoreOperation(RTC_HandleTypeDef *hrtc);
-
 
683
uint32_t          HAL_RTC_DST_ReadStoreOperation(RTC_HandleTypeDef *hrtc);
677
/**
684
/**
678
  * @}
685
  * @}
679
  */
686
  */
680
 
687
 
681
/** @defgroup RTC_Exported_Functions_Group3 RTC Alarm functions
688
/** @defgroup RTC_Exported_Functions_Group3 RTC Alarm functions