stm32f20x_it.c 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /**
  2. ******************************************************************************
  3. * @file Project/Template/stm32f10x_it.c
  4. * @author MCD Application Team
  5. * @version V3.1.0
  6. * @date 06/19/2009
  7. * @brief Main Interrupt Service Routines.
  8. * This file provides template for all exceptions handler and
  9. * peripherals interrupt service routine.
  10. ******************************************************************************
  11. * @copy
  12. *
  13. * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  14. * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
  15. * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
  16. * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
  17. * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
  18. * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  19. *
  20. * <h2><center>&copy; COPYRIGHT 2009 STMicroelectronics</center></h2>
  21. */
  22. /* Includes ------------------------------------------------------------------*/
  23. #include "stm32f20x_it.h"
  24. /** @addtogroup Template_Project
  25. * @{
  26. */
  27. /* Private typedef -----------------------------------------------------------*/
  28. /* Private define ------------------------------------------------------------*/
  29. /* Private macro -------------------------------------------------------------*/
  30. /* Private variables ---------------------------------------------------------*/
  31. /* Private function prototypes -----------------------------------------------*/
  32. /* Private functions ---------------------------------------------------------*/
  33. /******************************************************************************/
  34. /* Cortex-M3 Processor Exceptions Handlers */
  35. /******************************************************************************/
  36. /**
  37. * @brief This function handles NMI exception.
  38. * @param None
  39. * @retval None
  40. */
  41. void NMI_Handler(void)
  42. {
  43. }
  44. /**
  45. * @brief This function handles Memory Manage exception.
  46. * @param None
  47. * @retval None
  48. */
  49. void MemManage_Handler(void)
  50. {
  51. /* Go to infinite loop when Memory Manage exception occurs */
  52. while (1)
  53. {
  54. }
  55. }
  56. /**
  57. * @brief This function handles Bus Fault exception.
  58. * @param None
  59. * @retval None
  60. */
  61. void BusFault_Handler(void)
  62. {
  63. /* Go to infinite loop when Bus Fault exception occurs */
  64. while (1)
  65. {
  66. }
  67. }
  68. /**
  69. * @brief This function handles Usage Fault exception.
  70. * @param None
  71. * @retval None
  72. */
  73. void UsageFault_Handler(void)
  74. {
  75. /* Go to infinite loop when Usage Fault exception occurs */
  76. while (1)
  77. {
  78. }
  79. }
  80. /**
  81. * @brief This function handles SVCall exception.
  82. * @param None
  83. * @retval None
  84. */
  85. void SVC_Handler(void)
  86. {
  87. }
  88. /**
  89. * @brief This function handles Debug Monitor exception.
  90. * @param None
  91. * @retval None
  92. */
  93. void DebugMon_Handler(void)
  94. {
  95. }
  96. /**
  97. * @}
  98. */
  99. /******************* (C) COPYRIGHT 2009 STMicroelectronics *****END OF FILE****/