at32f403a_407_int.c 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #include "at32f403a_407_int.h"
  2. /**
  3. * @brief this function handles nmi exception.
  4. * @param none
  5. * @retval none
  6. */
  7. void NMI_Handler(void)
  8. {
  9. }
  10. /**
  11. * @brief this function handles hard fault exception.
  12. * @param none
  13. * @retval none
  14. */
  15. void HardFault_Handler(void)
  16. {
  17. /* go to infinite loop when hard fault exception occurs */
  18. while(1)
  19. {
  20. }
  21. }
  22. /**
  23. * @brief this function handles memory manage exception.
  24. * @param none
  25. * @retval none
  26. */
  27. void MemManage_Handler(void)
  28. {
  29. /* go to infinite loop when memory manage exception occurs */
  30. while(1)
  31. {
  32. }
  33. }
  34. /**
  35. * @brief this function handles bus fault exception.
  36. * @param none
  37. * @retval none
  38. */
  39. void BusFault_Handler(void)
  40. {
  41. /* go to infinite loop when bus fault exception occurs */
  42. while(1)
  43. {
  44. }
  45. }
  46. /**
  47. * @brief this function handles usage fault exception.
  48. * @param none
  49. * @retval none
  50. */
  51. void UsageFault_Handler(void)
  52. {
  53. /* go to infinite loop when usage fault exception occurs */
  54. while(1)
  55. {
  56. }
  57. }
  58. /**
  59. * @brief this function handles debug monitor exception.
  60. * @param none
  61. * @retval none
  62. */
  63. void DebugMon_Handler(void)
  64. {
  65. }