-
Notifications
You must be signed in to change notification settings - Fork 0
/
stm32l4xx_it.c
42 lines (38 loc) · 1.5 KB
/
stm32l4xx_it.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
******************************************************************************
* @file stm32l4xx_it.c
* @author Ac6
* @version V1.0
* @date 02-Feb-2015
* @brief Default Interrupt Service Routines.
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include "stm32l4xx_hal.h"
#include "stm32l4xx.h"
#ifdef USE_RTOS_SYSTICK
#include <cmsis_os.h>
#endif
#include "stm32l4xx_it.h"
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* 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
}