/* RTC MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc)
/* RTC MSP De-Initialization This function freeze the hardware resources used in this example.  */
void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc)
{
  if(hrtc->Instance==RTC)
  {
    __HAL_RCC_RTC_DISABLE();
    __HAL_RCC_RTCAPB_CLK_DISABLE();
  }
}