gd32f3x0_it.c 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. /*!
  2. \file gd32f3x0_it.c
  3. \brief interrupt Service Routines
  4. */
  5. /*
  6. Copyright (C) 2017 GigaDevice
  7. 2017-06-06, V1.0.0, firmware for GD32F3x0
  8. */
  9. #include "gd32f3x0_it.h"
  10. /*!
  11. \brief this function handles NMI exception
  12. \param[in] none
  13. \param[out] none
  14. \retval none
  15. */
  16. void NMI_Handler(void)
  17. {
  18. }
  19. /*!
  20. \brief this function handles HardFault exception
  21. \param[in] none
  22. \param[out] none
  23. \retval none
  24. */
  25. void HardFault_Handler(void)
  26. {
  27. /* if Hard Fault exception occurs, go to infinite loop */
  28. while (1);
  29. }
  30. /*!
  31. \brief this function handles MemManage exception
  32. \param[in] none
  33. \param[out] none
  34. \retval none
  35. */
  36. void MemManage_Handler(void)
  37. {
  38. /* if Memory Manage exception occurs, go to infinite loop */
  39. while (1);
  40. }
  41. /*!
  42. \brief this function handles BusFault exception
  43. \param[in] none
  44. \param[out] none
  45. \retval none
  46. */
  47. void BusFault_Handler(void)
  48. {
  49. /* if Bus Fault exception occurs, go to infinite loop */
  50. while (1);
  51. }
  52. /*!
  53. \brief this function handles UsageFault exception
  54. \param[in] none
  55. \param[out] none
  56. \retval none
  57. */
  58. void UsageFault_Handler(void)
  59. {
  60. /* if Usage Fault exception occurs, go to infinite loop */
  61. while (1);
  62. }
  63. /*!
  64. \brief this function handles SVC exception
  65. \param[in] none
  66. \param[out] none
  67. \retval none
  68. */
  69. void SVC_Handler(void)
  70. {
  71. }
  72. /*!
  73. \brief this function handles DebugMon exception
  74. \param[in] none
  75. \param[out] none
  76. \retval none
  77. */
  78. void DebugMon_Handler(void)
  79. {
  80. }
  81. /*!
  82. \brief this function handles PendSV exception
  83. \param[in] none
  84. \param[out] none
  85. \retval none
  86. */
  87. void PendSV_Handler(void)
  88. {
  89. }
  90. /*!
  91. \brief this function handles SysTick exception
  92. \param[in] none
  93. \param[out] none
  94. \retval none
  95. */
  96. void SysTick_Handler(void)
  97. {
  98. }