主要分析了S3C2410芯片及它相应的外部中断程序。首先介绍了S3C2410的中断原理,引出相关中断寄存器,然后介绍了这些寄存器的功能。针对这些寄存器的功能,详细阐述了如何设置中断寄存器的模式。在简要介绍用户空间和内核空间之后,设计了一个简单的中断程序。实验结果证明,在开发板上中断程序是快速响应的。
The paper analyses a simple interrupt program according to S3C2410 and discusses the principle of S3C2410 and the relative interrupt register and the function of these registers. It also introduces the method of interrupt registers. The embedded system space includes the kernel space and the user's space,which is also introduced, To end the presentation,a simple interrupt program test that the interrupt program is immediate response to interrupt.