Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

161 строка
3.9 KiB

  1. /**
  2. ******************************************************************************
  3. * @file Project/STM32F4xx_StdPeriph_Templates/stm32f4xx_it.c
  4. * @author MCD Application Team
  5. * @version V1.8.1
  6. * @date 27-January-2022
  7. * @brief Main Interrupt Service Routines.
  8. * This file provides template for all exceptions handler and
  9. * peripherals interrupt service routine.
  10. ******************************************************************************
  11. * @attention
  12. *
  13. * Copyright (c) 2016 STMicroelectronics.
  14. * All rights reserved.
  15. *
  16. * This software is licensed under terms that can be found in the LICENSE file
  17. * in the root directory of this software component.
  18. * If no LICENSE file comes with this software, it is provided AS-IS.
  19. *
  20. ******************************************************************************
  21. */
  22. /* Includes ------------------------------------------------------------------*/
  23. #include "stm32f4xx_it.h"
  24. //#include "main.h"
  25. /** @addtogroup Template_Project
  26. * @{
  27. */
  28. /* Private typedef -----------------------------------------------------------*/
  29. /* Private define ------------------------------------------------------------*/
  30. /* Private macro -------------------------------------------------------------*/
  31. /* Private variables ---------------------------------------------------------*/
  32. /* Private function prototypes -----------------------------------------------*/
  33. /* Private functions ---------------------------------------------------------*/
  34. /******************************************************************************/
  35. /* Cortex-M4 Processor Exceptions Handlers */
  36. /******************************************************************************/
  37. /**
  38. * @brief This function handles NMI exception.
  39. * @param None
  40. * @retval None
  41. */
  42. void NMI_Handler(void)
  43. {
  44. }
  45. /**
  46. * @brief This function handles Hard Fault exception.
  47. * @param None
  48. * @retval None
  49. */
  50. void HardFault_Handler(void)
  51. {
  52. /* Go to infinite loop when Hard Fault exception occurs */
  53. while (1)
  54. {
  55. }
  56. }
  57. /**
  58. * @brief This function handles Memory Manage exception.
  59. * @param None
  60. * @retval None
  61. */
  62. void MemManage_Handler(void)
  63. {
  64. /* Go to infinite loop when Memory Manage exception occurs */
  65. while (1)
  66. {
  67. }
  68. }
  69. /**
  70. * @brief This function handles Bus Fault exception.
  71. * @param None
  72. * @retval None
  73. */
  74. void BusFault_Handler(void)
  75. {
  76. /* Go to infinite loop when Bus Fault exception occurs */
  77. while (1)
  78. {
  79. }
  80. }
  81. /**
  82. * @brief This function handles Usage Fault exception.
  83. * @param None
  84. * @retval None
  85. */
  86. void UsageFault_Handler(void)
  87. {
  88. /* Go to infinite loop when Usage Fault exception occurs */
  89. while (1)
  90. {
  91. }
  92. }
  93. /**
  94. * @brief This function handles SVCall exception.
  95. * @param None
  96. * @retval None
  97. */
  98. //void SVC_Handler(void)
  99. //{
  100. //}
  101. /**
  102. * @brief This function handles Debug Monitor exception.
  103. * @param None
  104. * @retval None
  105. */
  106. void DebugMon_Handler(void)
  107. {
  108. }
  109. /**
  110. * @brief This function handles PendSVC exception.
  111. * @param None
  112. * @retval None
  113. */
  114. //void PendSV_Handler(void)
  115. //{
  116. //}
  117. /**
  118. * @brief This function handles SysTick Handler.
  119. * @param None
  120. * @retval None
  121. */
  122. //void SysTick_Handler(void)
  123. //{
  124. // TimingDelay_Decrement();
  125. //}
  126. /******************************************************************************/
  127. /* STM32F4xx Peripherals Interrupt Handlers */
  128. /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */
  129. /* available peripheral interrupt handler's name please refer to the startup */
  130. /* file (startup_stm32f4xx.s). */
  131. /******************************************************************************/
  132. /**
  133. * @brief This function handles PPP interrupt request.
  134. * @param None
  135. * @retval None
  136. */
  137. /*void PPP_IRQHandler(void)
  138. {
  139. }*/
  140. /**
  141. * @}
  142. */