at32f403a_407_int.c 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /**
  2. **************************************************************************
  3. * @file at32f403a_407_int.c
  4. * @brief main interrupt service routines.
  5. **************************************************************************
  6. * Copyright notice & Disclaimer
  7. *
  8. * The software Board Support Package (BSP) that is made available to
  9. * download from Artery official website is the copyrighted work of Artery.
  10. * Artery authorizes customers to use, copy, and distribute the BSP
  11. * software and its related documentation for the purpose of design and
  12. * development in conjunction with Artery microcontrollers. Use of the
  13. * software is governed by this copyright notice and the following disclaimer.
  14. *
  15. * THIS SOFTWARE IS PROVIDED ON "AS IS" BASIS WITHOUT WARRANTIES,
  16. * GUARANTEES OR REPRESENTATIONS OF ANY KIND. ARTERY EXPRESSLY DISCLAIMS,
  17. * TO THE FULLEST EXTENT PERMITTED BY LAW, ALL EXPRESS, IMPLIED OR
  18. * STATUTORY OR OTHER WARRANTIES, GUARANTEES OR REPRESENTATIONS,
  19. * INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
  20. * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
  21. *
  22. **************************************************************************
  23. */
  24. /* includes ------------------------------------------------------------------*/
  25. #include "at32f403a_407_int.h"
  26. /** @addtogroup AT32F403A_periph_examples
  27. * @{
  28. */
  29. /** @addtogroup 403A_WDT_reset
  30. * @{
  31. */
  32. /**
  33. * @brief this function handles nmi exception.
  34. * @param none
  35. * @retval none
  36. */
  37. void NMI_Handler(void)
  38. {
  39. }
  40. /**
  41. * @brief this function handles hard fault exception.
  42. * @param none
  43. * @retval none
  44. */
  45. void HardFault_Handler(void)
  46. {
  47. /* go to infinite loop when hard fault exception occurs */
  48. while(1)
  49. {
  50. }
  51. }
  52. /**
  53. * @brief this function handles memory manage exception.
  54. * @param none
  55. * @retval none
  56. */
  57. void MemManage_Handler(void)
  58. {
  59. /* go to infinite loop when memory manage exception occurs */
  60. while(1)
  61. {
  62. }
  63. }
  64. /**
  65. * @brief this function handles bus fault exception.
  66. * @param none
  67. * @retval none
  68. */
  69. void BusFault_Handler(void)
  70. {
  71. /* go to infinite loop when bus fault exception occurs */
  72. while(1)
  73. {
  74. }
  75. }
  76. /**
  77. * @brief this function handles usage fault exception.
  78. * @param none
  79. * @retval none
  80. */
  81. void UsageFault_Handler(void)
  82. {
  83. /* go to infinite loop when usage fault exception occurs */
  84. while(1)
  85. {
  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. }