typedef struct
#endif
{
RTC_TypeDef *Instance;
RTC_InitTypeDef Init;
HAL_LockTypeDef Lock;
__IO HAL_RTCStateTypeDef State;
#if (USE_HAL_RTC_REGISTER_CALLBACKS == 1)
void (* AlarmAEventCallback) (struct __RTC_HandleTypeDef *hrtc);
void (* AlarmBEventCallback) (struct __RTC_HandleTypeDef *hrtc);
void (* TimeStampEventCallback) (struct __RTC_HandleTypeDef *hrtc);
void (* WakeUpTimerEventCallback) (struct __RTC_HandleTypeDef *hrtc);
void (* Tamper1EventCallback) (struct __RTC_HandleTypeDef *hrtc);
#if defined(RTC_TAMPER2_SUPPORT)
void (* Tamper2EventCallback) (struct __RTC_HandleTypeDef *hrtc);
#endif
void (* MspInitCallback) (struct __RTC_HandleTypeDef *hrtc);
void (* MspDeInitCallback) (struct __RTC_HandleTypeDef *hrtc);
#endif
} RTC_HandleTypeDef;