Subversion Repositories DashDisplay

Rev

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

  1. /* USER CODE BEGIN Header */
  2. /**
  3.   ******************************************************************************
  4.   * @file    stm32l1xx_it.c
  5.   * @brief   Interrupt Service Routines.
  6.   ******************************************************************************
  7.   * @attention
  8.   *
  9.   * <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
  10.   * All rights reserved.</center></h2>
  11.   *
  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
  16.   *
  17.   ******************************************************************************
  18.   */
  19. /* USER CODE END Header */
  20.  
  21. /* Includes ------------------------------------------------------------------*/
  22. #include "main.h"
  23. #include "stm32l1xx_it.h"
  24. /* Private includes ----------------------------------------------------------*/
  25. /* USER CODE BEGIN Includes */
  26. #include "switches.h"
  27. /* USER CODE END Includes */
  28.  
  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 ---------------------------------------------------------*/
  55. /* USER CODE BEGIN 0 */
  56.  
  57. /* USER CODE END 0 */
  58.  
  59. /* External variables --------------------------------------------------------*/
  60.  
  61. /* USER CODE BEGIN EV */
  62.  
  63. /* USER CODE END EV */
  64.  
  65. /******************************************************************************/
  66. /*           Cortex-M3 Processor Interruption and Exception Handlers          */
  67. /******************************************************************************/
  68. /**
  69.   * @brief This function handles System tick timer.
  70.   */
  71. void SysTick_Handler(void)
  72. {
  73.   /* USER CODE BEGIN SysTick_IRQn 0 */
  74.   HandleSwitches();
  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 */
  92.