A27系列优化I2C/RTC处理,新增版本A270Y
This commit is contained in:
38
A27-AMTLDR/Src/exception.c
Normal file
38
A27-AMTLDR/Src/exception.c
Normal file
@ -0,0 +1,38 @@
|
||||
#include "UartPrint.h"
|
||||
|
||||
void undef_handler()
|
||||
{
|
||||
SendUartString("\r\nUndef EXC");
|
||||
while(1);
|
||||
}
|
||||
|
||||
void prefetch_handler()
|
||||
{
|
||||
SendUartString("\r\nPrefetch EXC");
|
||||
while(1);
|
||||
}
|
||||
|
||||
void data_abort_handler()
|
||||
{
|
||||
SendUartString("\r\nData abort EXC");
|
||||
while(1);
|
||||
}
|
||||
|
||||
void irq_handler()
|
||||
{
|
||||
SendUartString("\r\nIRQ EXC");
|
||||
while(1);
|
||||
}
|
||||
|
||||
void fiq_handler()
|
||||
{
|
||||
SendUartString("\r\nFIQ EXC");
|
||||
while(1);
|
||||
}
|
||||
|
||||
void swi_handler()
|
||||
{
|
||||
SendUartString("\r\nSWI EXC");
|
||||
while(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user