text: /**
    ******************************************************************************
    * @file    stm32f1xx_it.c
    * @author  Ac6
    * @version V1.0
    * @date    02-Feb-2015
    * @brief   Default Interrupt Service Routines.
    ******************************************************************************
  */
  
  /* Includes ------------------------------------------------------------------*/
  #include "stm32f1xx_hal.h"
  #include "stm32f1xx.h"
  #ifdef USE_RTOS_SYSTICK
  #include <cmsis_os.h>
  #endif
  #include "stm32f1xx_it.h"
  
  /* Private typedef -----------------------------------------------------------*/
  /* Private define ------------------------------------------------------------*/
  /* Private macro -------------------------------------------------------------*/
  /* Private variables ---------------------------------------------------------*/
  extern RTC_HandleTypeDef rtcHandle;
  
  /* Private function prototypes -----------------------------------------------*/
  /* Private functions ---------------------------------------------------------*/
  
  /******************************************************************************/
  /*            	  	    Processor Exceptions Handlers                         */
  /******************************************************************************/
  
  /**
    * @brief  This function handles SysTick Handler, but only if no RTOS defines it.
    * @param  None
    * @retval None
    */
  void SysTick_Handler(void)
  {
  	HAL_IncTick();
  	HAL_SYSTICK_IRQHandler();
  #ifdef USE_RTOS_SYSTICK
  	osSystickHandler();
  #endif
  }
  
  /******************************************************************************/
  /*                       Peripherals Interrupt Handlers                       */
  /******************************************************************************/
  
  /**
    * @brief  This function handles RTC Alarm interrupt request.
    * @param  None
    * @retval None
    */
  void RTC_Alarm_IRQHandler(void)
  {
  	HAL_RTC_AlarmIRQHandler(&rtcHandle);
  }
  