71 lines
1.3 KiB
C
Executable File
71 lines
1.3 KiB
C
Executable File
//
|
|
// Created by xemon on 19.09.22.
|
|
//
|
|
|
|
/**
|
|
* @file interupts.c
|
|
* @author xemon
|
|
*/
|
|
|
|
#include "at32f435_437.h"
|
|
|
|
extern __IO uint32_t CurrDataCounterEnd;
|
|
|
|
/******************************************************************************/
|
|
/* Cortex-M4 Processor Exceptions Handlers */
|
|
/******************************************************************************/
|
|
|
|
|
|
/**
|
|
* @brief This function handles NMI exception.
|
|
*/
|
|
void NMI_Handler(void) {
|
|
}
|
|
|
|
|
|
/**
|
|
* @brief This function handles Hard Fault exception.
|
|
*/
|
|
void HardFault_Handler(void) {
|
|
/* Go to infinite loop when Hard Fault exception occurs */
|
|
while (1) {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
* @brief This function handles Memory Manage exception.
|
|
*/
|
|
void MemManage_Handler(void) {
|
|
/* Go to infinite loop when Memory Manage exception occurs */
|
|
while (1) {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
* @brief This function handles Bus Fault exception.
|
|
*/
|
|
void BusFault_Handler(void) {
|
|
/* Go to infinite loop when Bus Fault exception occurs */
|
|
while (1) {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
* @brief This function handles Usage Fault exception.
|
|
*/
|
|
void UsageFault_Handler(void) {
|
|
/* Go to infinite loop when Usage Fault exception occurs */
|
|
while (1) {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
* @brief This function handles Debug Monitor exception.
|
|
*/
|
|
void DebugMon_Handler(void) {
|
|
}
|