摘要
实时操作系统要求处理器快速响应异常中断。以S3C2410为硬件平台,结合经过实际验证的代码详细分析了基于ARM嵌入式系统的异常处理流程。然后阐明关键字“-irq”的作用,设计出中断处理函数。最后,通过设置中断控制寄存器,设计外部中断EINT3的初始化程序,并给出主程序流程图。实践证明程序运行稳定可靠。
By using the tested start up code of the S3C2410, the mechanism in which ARM processor responded to sorts of exceptional interruption was thoroughly explained. Then the function of "-irq " was introduced, and the program of interruption was also designed. At last the initialize program of external interrupt was developed in C language by seting several important interrupt controller special registers, and the flowsheet of main program was given.
出处
《微计算机信息》
北大核心
2007年第20期110-112,共3页
Control & Automation
基金
河北省自然科学基金(F2004000072)
河北省教育厅博士基金(B2003202)