Subversion Repositories DashDisplay

Rev

Rev 61 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
50 mjames 1
/* USER CODE BEGIN Header */
30 mjames 2
/**
3
  ******************************************************************************
4
  * @file    stm32l1xx_it.c
5
  * @brief   Interrupt Service Routines.
6
  ******************************************************************************
50 mjames 7
  * @attention
30 mjames 8
  *
50 mjames 9
  * <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
10
  * All rights reserved.</center></h2>
30 mjames 11
  *
50 mjames 12
  * This software component is licensed by ST under BSD 3-Clause license,
13
  * the "License"; You may not use this file except in compliance with the
14
  * License. You may obtain a copy of the License at:
15
  *                        opensource.org/licenses/BSD-3-Clause
30 mjames 16
  *
17
  ******************************************************************************
18
  */
50 mjames 19
/* USER CODE END Header */
20
 
30 mjames 21
/* Includes ------------------------------------------------------------------*/
50 mjames 22
#include "main.h"
30 mjames 23
#include "stm32l1xx_it.h"
50 mjames 24
/* Private includes ----------------------------------------------------------*/
25
/* USER CODE BEGIN Includes */
26
#include "switches.h"
27
/* USER CODE END Includes */
30 mjames 28
 
50 mjames 29
/* Private typedef -----------------------------------------------------------*/
30
/* USER CODE BEGIN TD */
31
 
32
/* USER CODE END TD */
33
 
34
/* Private define ------------------------------------------------------------*/
35
/* USER CODE BEGIN PD */
36
 
37
/* USER CODE END PD */
38
 
39
/* Private macro -------------------------------------------------------------*/
40
/* USER CODE BEGIN PM */
41
 
42
/* USER CODE END PM */
43
 
44
/* Private variables ---------------------------------------------------------*/
45
/* USER CODE BEGIN PV */
46
 
47
/* USER CODE END PV */
48
 
49
/* Private function prototypes -----------------------------------------------*/
50
/* USER CODE BEGIN PFP */
51
 
52
/* USER CODE END PFP */
53
 
54
/* Private user code ---------------------------------------------------------*/
30 mjames 55
/* USER CODE BEGIN 0 */
50 mjames 56
 
30 mjames 57
/* USER CODE END 0 */
58
 
59
/* External variables --------------------------------------------------------*/
60
 
50 mjames 61
/* USER CODE BEGIN EV */
62
 
63
/* USER CODE END EV */
64
 
30 mjames 65
/******************************************************************************/
50 mjames 66
/*           Cortex-M3 Processor Interruption and Exception Handlers          */
30 mjames 67
/******************************************************************************/
68
/**
50 mjames 69
  * @brief This function handles System tick timer.
70
  */
30 mjames 71
void SysTick_Handler(void)
72
{
73
  /* USER CODE BEGIN SysTick_IRQn 0 */
50 mjames 74
  HandleSwitches();
30 mjames 75
  /* USER CODE END SysTick_IRQn 0 */
76
  HAL_IncTick();
77
  /* USER CODE BEGIN SysTick_IRQn 1 */
78
 
79
  /* USER CODE END SysTick_IRQn 1 */
80
}
81
 
82
/******************************************************************************/
83
/* STM32L1xx Peripheral Interrupt Handlers                                    */
84
/* Add here the Interrupt Handlers for the used peripherals.                  */
85
/* For the available peripheral interrupt handler names,                      */
86
/* please refer to the startup file (startup_stm32l1xx.s).                    */
87
/******************************************************************************/
88
 
89
/* USER CODE BEGIN 1 */
90
 
91
/* USER CODE END 1 */