int_handlers.c
来自「COLDFIRE 5282SC的文件」· C语言 代码 · 共 26 行
C
26 行
/*
* File: int_handlers.c
* Purpose: Interrupt handlers
*
* Notes: Any interrupt or exception is a fatal error.
*/
#include "src/init/m5282evb.h"
#include "src/fat/fat.h"
/********************************************************************/
void
exception_handler (void *framep)
{
/* Catastrophic failure */
RESULTS |= VECTOR(MCF5XXX_RD_SF_VECTOR(framep));
#ifndef __MWERKS__
asm(" halt");
#else
asm( halt);
#endif
}
/********************************************************************/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?