Merge pull request #11270 from haslinghuis/rename_attr
[betaflight.git] / lib / main / STM32F1 / Drivers / STM32F1xx_HAL_Driver / Inc / stm32f1xx_hal_rtc.h
blobecc28034e7778d0f36241883570287e954ffd324
1 /**
2 ******************************************************************************
3 * @file stm32f1xx_hal_rtc.h
4 * @author MCD Application Team
5 * @version V1.1.1
6 * @date 12-May-2017
7 * @brief Header file of RTC HAL module.
8 ******************************************************************************
9 * @attention
11 * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
13 * Redistribution and use in source and binary forms, with or without modification,
14 * are permitted provided that the following conditions are met:
15 * 1. Redistributions of source code must retain the above copyright notice,
16 * this list of conditions and the following disclaimer.
17 * 2. Redistributions in binary form must reproduce the above copyright notice,
18 * this list of conditions and the following disclaimer in the documentation
19 * and/or other materials provided with the distribution.
20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
21 * may be used to endorse or promote products derived from this software
22 * without specific prior written permission.
24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35 ******************************************************************************
38 /* Define to prevent recursive inclusion -------------------------------------*/
39 #ifndef __STM32F1xx_HAL_RTC_H
40 #define __STM32F1xx_HAL_RTC_H
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
46 /* Includes ------------------------------------------------------------------*/
47 #include "stm32f1xx_hal_def.h"
49 /** @addtogroup STM32F1xx_HAL_Driver
50 * @{
53 /** @addtogroup RTC
54 * @{
55 */
57 /** @addtogroup RTC_Private_Macros
58 * @{
61 #define IS_RTC_ASYNCH_PREDIV(PREDIV) (((PREDIV) <= 0xFFFFFU) || ((PREDIV) == RTC_AUTO_1_SECOND))
62 #define IS_RTC_HOUR24(HOUR) ((HOUR) <= 23U)
63 #define IS_RTC_MINUTES(MINUTES) ((MINUTES) <= 59U)
64 #define IS_RTC_SECONDS(SECONDS) ((SECONDS) <= 59U)
65 #define IS_RTC_FORMAT(FORMAT) (((FORMAT) == RTC_FORMAT_BIN) || ((FORMAT) == RTC_FORMAT_BCD))
66 #define IS_RTC_YEAR(YEAR) ((YEAR) <= 99U)
67 #define IS_RTC_MONTH(MONTH) (((MONTH) >= 1U) && ((MONTH) <= 12U))
68 #define IS_RTC_DATE(DATE) (((DATE) >= 1U) && ((DATE) <= 31U))
69 #define IS_RTC_ALARM(ALARM) ((ALARM) == RTC_ALARM_A)
70 #define IS_RTC_CALIB_OUTPUT(__OUTPUT__) (((__OUTPUT__) == RTC_OUTPUTSOURCE_NONE) || \
71 ((__OUTPUT__) == RTC_OUTPUTSOURCE_CALIBCLOCK) || \
72 ((__OUTPUT__) == RTC_OUTPUTSOURCE_ALARM) || \
73 ((__OUTPUT__) == RTC_OUTPUTSOURCE_SECOND))
76 /**
77 * @}
80 /** @addtogroup RTC_Private_Constants
81 * @{
83 /** @defgroup RTC_Timeout_Value Default Timeout Value
84 * @{
85 */
86 #define RTC_TIMEOUT_VALUE 1000U
87 /**
88 * @}
89 */
91 /** @defgroup RTC_EXTI_Line_Event RTC EXTI Line event
92 * @{
93 */
94 #define RTC_EXTI_LINE_ALARM_EVENT ((uint32_t)EXTI_IMR_MR17) /*!< External interrupt line 17 Connected to the RTC Alarm event */
95 /**
96 * @}
101 * @}
104 /* Exported types ------------------------------------------------------------*/
105 /** @defgroup RTC_Exported_Types RTC Exported Types
106 * @{
108 /**
109 * @brief RTC Time structure definition
111 typedef struct
113 uint8_t Hours; /*!< Specifies the RTC Time Hour.
114 This parameter must be a number between Min_Data = 0 and Max_Data = 23 */
116 uint8_t Minutes; /*!< Specifies the RTC Time Minutes.
117 This parameter must be a number between Min_Data = 0 and Max_Data = 59 */
119 uint8_t Seconds; /*!< Specifies the RTC Time Seconds.
120 This parameter must be a number between Min_Data = 0 and Max_Data = 59 */
122 }RTC_TimeTypeDef;
124 /**
125 * @brief RTC Alarm structure definition
127 typedef struct
129 RTC_TimeTypeDef AlarmTime; /*!< Specifies the RTC Alarm Time members */
131 uint32_t Alarm; /*!< Specifies the alarm ID (only 1 alarm ID for STM32F1).
132 This parameter can be a value of @ref RTC_Alarms_Definitions */
133 }RTC_AlarmTypeDef;
135 /**
136 * @brief HAL State structures definition
138 typedef enum
140 HAL_RTC_STATE_RESET = 0x00U, /*!< RTC not yet initialized or disabled */
141 HAL_RTC_STATE_READY = 0x01U, /*!< RTC initialized and ready for use */
142 HAL_RTC_STATE_BUSY = 0x02U, /*!< RTC process is ongoing */
143 HAL_RTC_STATE_TIMEOUT = 0x03U, /*!< RTC timeout state */
144 HAL_RTC_STATE_ERROR = 0x04U /*!< RTC error state */
146 }HAL_RTCStateTypeDef;
148 /**
149 * @brief RTC Configuration Structure definition
151 typedef struct
153 uint32_t AsynchPrediv; /*!< Specifies the RTC Asynchronous Predivider value.
154 This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFFFFF or RTC_AUTO_1_SECOND
155 If RTC_AUTO_1_SECOND is selected, AsynchPrediv will be set automatically to get 1sec timebase */
157 uint32_t OutPut; /*!< Specifies which signal will be routed to the RTC Tamper pin.
158 This parameter can be a value of @ref RTC_output_source_to_output_on_the_Tamper_pin */
160 }RTC_InitTypeDef;
162 /**
163 * @brief RTC Date structure definition
165 typedef struct
167 uint8_t WeekDay; /*!< Specifies the RTC Date WeekDay (not necessary for HAL_RTC_SetDate).
168 This parameter can be a value of @ref RTC_WeekDay_Definitions */
170 uint8_t Month; /*!< Specifies the RTC Date Month (in BCD format).
171 This parameter can be a value of @ref RTC_Month_Date_Definitions */
173 uint8_t Date; /*!< Specifies the RTC Date.
174 This parameter must be a number between Min_Data = 1 and Max_Data = 31 */
176 uint8_t Year; /*!< Specifies the RTC Date Year.
177 This parameter must be a number between Min_Data = 0 and Max_Data = 99 */
179 }RTC_DateTypeDef;
181 /**
182 * @brief Time Handle Structure definition
184 typedef struct
186 RTC_TypeDef *Instance; /*!< Register base address */
188 RTC_InitTypeDef Init; /*!< RTC required parameters */
190 RTC_DateTypeDef DateToUpdate; /*!< Current date set by user and updated automatically */
192 HAL_LockTypeDef Lock; /*!< RTC locking object */
194 __IO HAL_RTCStateTypeDef State; /*!< Time communication state */
196 }RTC_HandleTypeDef;
199 * @}
202 /* Exported constants --------------------------------------------------------*/
203 /** @defgroup RTC_Exported_Constants RTC Exported Constants
204 * @{
207 /** @defgroup RTC_Automatic_Prediv_1_Second Automatic calculation of prediv for 1sec timebase
208 * @{
210 #define RTC_AUTO_1_SECOND 0xFFFFFFFFU
213 * @}
216 /** @defgroup RTC_Input_parameter_format_definitions Input Parameter Format
217 * @{
219 #define RTC_FORMAT_BIN 0x000000000U
220 #define RTC_FORMAT_BCD 0x000000001U
223 * @}
226 /** @defgroup RTC_Month_Date_Definitions Month Definitions
227 * @{
230 /* Coded in BCD format */
231 #define RTC_MONTH_JANUARY ((uint8_t)0x01)
232 #define RTC_MONTH_FEBRUARY ((uint8_t)0x02)
233 #define RTC_MONTH_MARCH ((uint8_t)0x03)
234 #define RTC_MONTH_APRIL ((uint8_t)0x04)
235 #define RTC_MONTH_MAY ((uint8_t)0x05)
236 #define RTC_MONTH_JUNE ((uint8_t)0x06)
237 #define RTC_MONTH_JULY ((uint8_t)0x07)
238 #define RTC_MONTH_AUGUST ((uint8_t)0x08)
239 #define RTC_MONTH_SEPTEMBER ((uint8_t)0x09)
240 #define RTC_MONTH_OCTOBER ((uint8_t)0x10)
241 #define RTC_MONTH_NOVEMBER ((uint8_t)0x11)
242 #define RTC_MONTH_DECEMBER ((uint8_t)0x12)
245 * @}
248 /** @defgroup RTC_WeekDay_Definitions WeekDay Definitions
249 * @{
251 #define RTC_WEEKDAY_MONDAY ((uint8_t)0x01)
252 #define RTC_WEEKDAY_TUESDAY ((uint8_t)0x02)
253 #define RTC_WEEKDAY_WEDNESDAY ((uint8_t)0x03)
254 #define RTC_WEEKDAY_THURSDAY ((uint8_t)0x04)
255 #define RTC_WEEKDAY_FRIDAY ((uint8_t)0x05)
256 #define RTC_WEEKDAY_SATURDAY ((uint8_t)0x06)
257 #define RTC_WEEKDAY_SUNDAY ((uint8_t)0x00)
260 * @}
263 /** @defgroup RTC_Alarms_Definitions Alarms Definitions
264 * @{
266 #define RTC_ALARM_A 0U /*!< Specify alarm ID (mainly for legacy purposes) */
269 * @}
273 /** @defgroup RTC_output_source_to_output_on_the_Tamper_pin Output source to output on the Tamper pin
274 * @{
277 #define RTC_OUTPUTSOURCE_NONE 0x00000000U /*!< No output on the TAMPER pin */
278 #define RTC_OUTPUTSOURCE_CALIBCLOCK BKP_RTCCR_CCO /*!< RTC clock with a frequency divided by 64 on the TAMPER pin */
279 #define RTC_OUTPUTSOURCE_ALARM BKP_RTCCR_ASOE /*!< Alarm pulse signal on the TAMPER pin */
280 #define RTC_OUTPUTSOURCE_SECOND (BKP_RTCCR_ASOS | BKP_RTCCR_ASOE) /*!< Second pulse signal on the TAMPER pin */
283 * @}
286 /** @defgroup RTC_Interrupts_Definitions Interrupts Definitions
287 * @{
289 #define RTC_IT_OW RTC_CRH_OWIE /*!< Overflow interrupt */
290 #define RTC_IT_ALRA RTC_CRH_ALRIE /*!< Alarm interrupt */
291 #define RTC_IT_SEC RTC_CRH_SECIE /*!< Second interrupt */
292 #define RTC_IT_TAMP1 BKP_CSR_TPIE /*!< TAMPER Pin interrupt enable */
294 * @}
297 /** @defgroup RTC_Flags_Definitions Flags Definitions
298 * @{
300 #define RTC_FLAG_RTOFF RTC_CRL_RTOFF /*!< RTC Operation OFF flag */
301 #define RTC_FLAG_RSF RTC_CRL_RSF /*!< Registers Synchronized flag */
302 #define RTC_FLAG_OW RTC_CRL_OWF /*!< Overflow flag */
303 #define RTC_FLAG_ALRAF RTC_CRL_ALRF /*!< Alarm flag */
304 #define RTC_FLAG_SEC RTC_CRL_SECF /*!< Second flag */
305 #define RTC_FLAG_TAMP1F BKP_CSR_TEF /*!< Tamper Interrupt Flag */
308 * @}
312 * @}
315 /* Exported macro ------------------------------------------------------------*/
316 /** @defgroup RTC_Exported_macros RTC Exported Macros
317 * @{
320 /** @brief Reset RTC handle state
321 * @param __HANDLE__: RTC handle.
322 * @retval None
324 #define __HAL_RTC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_RTC_STATE_RESET)
327 * @brief Disable the write protection for RTC registers.
328 * @param __HANDLE__: specifies the RTC handle.
329 * @retval None
331 #define __HAL_RTC_WRITEPROTECTION_DISABLE(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CRL, RTC_CRL_CNF)
334 * @brief Enable the write protection for RTC registers.
335 * @param __HANDLE__: specifies the RTC handle.
336 * @retval None
338 #define __HAL_RTC_WRITEPROTECTION_ENABLE(__HANDLE__) CLEAR_BIT((__HANDLE__)->Instance->CRL, RTC_CRL_CNF)
341 * @brief Enable the RTC Alarm interrupt.
342 * @param __HANDLE__: specifies the RTC handle.
343 * @param __INTERRUPT__: specifies the RTC Alarm interrupt sources to be enabled or disabled.
344 * This parameter can be any combination of the following values:
345 * @arg RTC_IT_ALRA: Alarm A interrupt
346 * @retval None
348 #define __HAL_RTC_ALARM_ENABLE_IT(__HANDLE__, __INTERRUPT__) SET_BIT((__HANDLE__)->Instance->CRH, (__INTERRUPT__))
351 * @brief Disable the RTC Alarm interrupt.
352 * @param __HANDLE__: specifies the RTC handle.
353 * @param __INTERRUPT__: specifies the RTC Alarm interrupt sources to be enabled or disabled.
354 * This parameter can be any combination of the following values:
355 * @arg RTC_IT_ALRA: Alarm A interrupt
356 * @retval None
358 #define __HAL_RTC_ALARM_DISABLE_IT(__HANDLE__, __INTERRUPT__) CLEAR_BIT((__HANDLE__)->Instance->CRH, (__INTERRUPT__))
361 * @brief Check whether the specified RTC Alarm interrupt has been enabled or not.
362 * @param __HANDLE__: specifies the RTC handle.
363 * @param __INTERRUPT__: specifies the RTC Alarm interrupt sources to be checked
364 * This parameter can be:
365 * @arg RTC_IT_ALRA: Alarm A interrupt
366 * @retval None
368 #define __HAL_RTC_ALARM_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((((__HANDLE__)->Instance->CRH)& ((__INTERRUPT__)))) != RESET)? SET : RESET)
371 * @brief Get the selected RTC Alarm's flag status.
372 * @param __HANDLE__: specifies the RTC handle.
373 * @param __FLAG__: specifies the RTC Alarm Flag sources to be enabled or disabled.
374 * This parameter can be:
375 * @arg RTC_FLAG_ALRAF
376 * @retval None
378 #define __HAL_RTC_ALARM_GET_FLAG(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->CRL) & (__FLAG__)) != RESET)? SET : RESET)
381 * @brief Check whether the specified RTC Alarm interrupt has occurred or not.
382 * @param __HANDLE__: specifies the RTC handle.
383 * @param __INTERRUPT__: specifies the RTC Alarm interrupt sources to check.
384 * This parameter can be:
385 * @arg RTC_IT_ALRA: Alarm A interrupt
386 * @retval None
388 #define __HAL_RTC_ALARM_GET_IT(__HANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->CRL) & (__INTERRUPT__)) != RESET)? SET : RESET)
391 * @brief Clear the RTC Alarm's pending flags.
392 * @param __HANDLE__: specifies the RTC handle.
393 * @param __FLAG__: specifies the RTC Alarm Flag sources to be enabled or disabled.
394 * This parameter can be:
395 * @arg RTC_FLAG_ALRAF
396 * @retval None
398 #define __HAL_RTC_ALARM_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->CRL) = ~(__FLAG__)
401 * @brief Enable interrupt on ALARM Exti Line 17.
402 * @retval None.
404 #define __HAL_RTC_ALARM_EXTI_ENABLE_IT() SET_BIT(EXTI->IMR, RTC_EXTI_LINE_ALARM_EVENT)
407 * @brief Disable interrupt on ALARM Exti Line 17.
408 * @retval None.
410 #define __HAL_RTC_ALARM_EXTI_DISABLE_IT() CLEAR_BIT(EXTI->IMR, RTC_EXTI_LINE_ALARM_EVENT)
413 * @brief Enable event on ALARM Exti Line 17.
414 * @retval None.
416 #define __HAL_RTC_ALARM_EXTI_ENABLE_EVENT() SET_BIT(EXTI->EMR, RTC_EXTI_LINE_ALARM_EVENT)
419 * @brief Disable event on ALARM Exti Line 17.
420 * @retval None.
422 #define __HAL_RTC_ALARM_EXTI_DISABLE_EVENT() CLEAR_BIT(EXTI->EMR, RTC_EXTI_LINE_ALARM_EVENT)
426 * @brief ALARM EXTI line configuration: set falling edge trigger.
427 * @retval None.
429 #define __HAL_RTC_ALARM_EXTI_ENABLE_FALLING_EDGE() SET_BIT(EXTI->FTSR, RTC_EXTI_LINE_ALARM_EVENT)
433 * @brief Disable the ALARM Extended Interrupt Falling Trigger.
434 * @retval None.
436 #define __HAL_RTC_ALARM_EXTI_DISABLE_FALLING_EDGE() CLEAR_BIT(EXTI->FTSR, RTC_EXTI_LINE_ALARM_EVENT)
440 * @brief ALARM EXTI line configuration: set rising edge trigger.
441 * @retval None.
443 #define __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE() SET_BIT(EXTI->RTSR, RTC_EXTI_LINE_ALARM_EVENT)
446 * @brief Disable the ALARM Extended Interrupt Rising Trigger.
447 * This parameter can be:
448 * @retval None.
450 #define __HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE() CLEAR_BIT(EXTI->RTSR, RTC_EXTI_LINE_ALARM_EVENT)
453 * @brief ALARM EXTI line configuration: set rising & falling edge trigger.
454 * @retval None.
456 #define __HAL_RTC_ALARM_EXTI_ENABLE_RISING_FALLING_EDGE() \
457 do{ \
458 __HAL_RTC_ALARM_EXTI_ENABLE_RISING_EDGE(); \
459 __HAL_RTC_ALARM_EXTI_ENABLE_FALLING_EDGE(); \
460 } while(0U)
463 * @brief Disable the ALARM Extended Interrupt Rising & Falling Trigger.
464 * This parameter can be:
465 * @retval None.
467 #define __HAL_RTC_ALARM_EXTI_DISABLE_RISING_FALLING_EDGE() \
468 do{ \
469 __HAL_RTC_ALARM_EXTI_DISABLE_RISING_EDGE(); \
470 __HAL_RTC_ALARM_EXTI_DISABLE_FALLING_EDGE(); \
471 } while(0U)
474 * @brief Check whether the specified ALARM EXTI interrupt flag is set or not.
475 * @retval EXTI ALARM Line Status.
477 #define __HAL_RTC_ALARM_EXTI_GET_FLAG() (EXTI->PR & (RTC_EXTI_LINE_ALARM_EVENT))
480 * @brief Clear the ALARM EXTI flag.
481 * @retval None.
483 #define __HAL_RTC_ALARM_EXTI_CLEAR_FLAG() (EXTI->PR = (RTC_EXTI_LINE_ALARM_EVENT))
486 * @brief Generate a Software interrupt on selected EXTI line.
487 * @retval None.
489 #define __HAL_RTC_ALARM_EXTI_GENERATE_SWIT() SET_BIT(EXTI->SWIER, RTC_EXTI_LINE_ALARM_EVENT)
491 * @}
494 /* Include RTC HAL Extension module */
495 #include "stm32f1xx_hal_rtc_ex.h"
497 /* Exported functions --------------------------------------------------------*/
498 /** @addtogroup RTC_Exported_Functions
499 * @{
503 /* Initialization and de-initialization functions ****************************/
504 /** @addtogroup RTC_Exported_Functions_Group1
505 * @{
507 HAL_StatusTypeDef HAL_RTC_Init(RTC_HandleTypeDef *hrtc);
508 HAL_StatusTypeDef HAL_RTC_DeInit(RTC_HandleTypeDef *hrtc);
509 void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc);
510 void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc);
512 * @}
515 /* RTC Time and Date functions ************************************************/
516 /** @addtogroup RTC_Exported_Functions_Group2
517 * @{
519 HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format);
520 HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format);
521 HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format);
522 HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format);
524 * @}
527 /* RTC Alarm functions ********************************************************/
528 /** @addtogroup RTC_Exported_Functions_Group3
529 * @{
531 HAL_StatusTypeDef HAL_RTC_SetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format);
532 HAL_StatusTypeDef HAL_RTC_SetAlarm_IT(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format);
533 HAL_StatusTypeDef HAL_RTC_DeactivateAlarm(RTC_HandleTypeDef *hrtc, uint32_t Alarm);
534 HAL_StatusTypeDef HAL_RTC_GetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Alarm, uint32_t Format);
535 void HAL_RTC_AlarmIRQHandler(RTC_HandleTypeDef *hrtc);
536 HAL_StatusTypeDef HAL_RTC_PollForAlarmAEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout);
537 void HAL_RTC_AlarmAEventCallback(RTC_HandleTypeDef *hrtc);
539 * @}
542 /* Peripheral State functions *************************************************/
543 /** @addtogroup RTC_Exported_Functions_Group4
544 * @{
546 HAL_RTCStateTypeDef HAL_RTC_GetState(RTC_HandleTypeDef *hrtc);
548 * @}
551 /* Peripheral Control functions ***********************************************/
552 /** @addtogroup RTC_Exported_Functions_Group5
553 * @{
555 HAL_StatusTypeDef HAL_RTC_WaitForSynchro(RTC_HandleTypeDef* hrtc);
557 * @}
561 * @}
565 * @}
569 * @}
572 #ifdef __cplusplus
574 #endif
576 #endif /* __STM32F1xx_HAL_RTC_H */
578 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/