stm32f1xx_it.c 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /* USER CODE BEGIN Header */
  2. /**
  3. ******************************************************************************
  4. * @file stm32f1xx_it.c
  5. * @brief Interrupt Service Routines.
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * Copyright (c) 2025 STMicroelectronics.
  10. * All rights reserved.
  11. *
  12. * This software is licensed under terms that can be found in the LICENSE file
  13. * in the root directory of this software component.
  14. * If no LICENSE file comes with this software, it is provided AS-IS.
  15. *
  16. ******************************************************************************
  17. */
  18. /* USER CODE END Header */
  19. /* Includes ------------------------------------------------------------------*/
  20. #include "main.h"
  21. #include "stm32f1xx_it.h"
  22. /* Private includes ----------------------------------------------------------*/
  23. /* USER CODE BEGIN Includes */
  24. /* USER CODE END Includes */
  25. /* Private typedef -----------------------------------------------------------*/
  26. /* USER CODE BEGIN TD */
  27. /* USER CODE END TD */
  28. /* Private define ------------------------------------------------------------*/
  29. /* USER CODE BEGIN PD */
  30. /* USER CODE END PD */
  31. /* Private macro -------------------------------------------------------------*/
  32. /* USER CODE BEGIN PM */
  33. /* USER CODE END PM */
  34. /* Private variables ---------------------------------------------------------*/
  35. /* USER CODE BEGIN PV */
  36. /* USER CODE END PV */
  37. /* Private function prototypes -----------------------------------------------*/
  38. /* USER CODE BEGIN PFP */
  39. /* USER CODE END PFP */
  40. /* Private user code ---------------------------------------------------------*/
  41. /* USER CODE BEGIN 0 */
  42. /* USER CODE END 0 */
  43. /* External variables --------------------------------------------------------*/
  44. /* USER CODE BEGIN EV */
  45. /* USER CODE END EV */
  46. /******************************************************************************/
  47. /* Cortex-M3 Processor Interruption and Exception Handlers */
  48. /******************************************************************************/
  49. /**
  50. * @brief This function handles System tick timer.
  51. */
  52. void SysTick_Handler(void)
  53. {
  54. /* USER CODE BEGIN SysTick_IRQn 0 */
  55. /* USER CODE END SysTick_IRQn 0 */
  56. HAL_IncTick();
  57. /* USER CODE BEGIN SysTick_IRQn 1 */
  58. /* USER CODE END SysTick_IRQn 1 */
  59. }
  60. /******************************************************************************/
  61. /* STM32F1xx Peripheral Interrupt Handlers */
  62. /* Add here the Interrupt Handlers for the used peripherals. */
  63. /* For the available peripheral interrupt handler names, */
  64. /* please refer to the startup file (startup_stm32f1xx.s). */
  65. /******************************************************************************/
  66. /* USER CODE BEGIN 1 */
  67. /* USER CODE END 1 */