摘要
本文在对常用单片机中断功能扩展方法优缺点分析的基础上 ,用编码器扩展单片机中断功能 ,提出了采用中断向量表实现中断功能的软件设计方法 ,并给出了参考程序。这种扩展方法具有接口电路简单 ,软件实现容易 ,不耗费单片机内部资源 ,中断响应快的特点。
On the basis of analysing the merits and demerits of the commonly used interruption function of the single-chip-microcomputer, this paper, by using the a coder to extend the interruption function, presents the method of designing software with interruption vector table to realize the interruption function and gives the referential program. This method of extending is of such characteristics as simple connection of circuits, easy design of software and consumption of no inner resources of the computer and fast response to interruption.
出处
《陕西工学院学报》
2000年第3期18-21,共4页
Journal of Shaanxi Institute of Technology
关键词
单片机
中断功能
系统设计
编码器
single_chip_mcrocomputer
interruption function
system designing