首页 | 本学科首页   官方微博 | 高级检索  
     检索      

单片机外部中断的扩展
引用本文:许哲,张伯珩,边川平,许曼.单片机外部中断的扩展[J].科学技术与工程,2007,7(19):5116-5119.
作者姓名:许哲  张伯珩  边川平  许曼
作者单位:1. 中国科学院西安光学精密机械研究所,西安,710119;中国科学院研究生院,北京,100039
2. 中国科学院西安光学精密机械研究所,西安,710119
3. 西安建筑科技大学,西安,710055
摘    要:针对MCS-51系列单片机只有2个外中断,介绍了两种常用的外部中断源的扩展方法,同时给出了每种扩展下利用汇编语言对中断优先级进行扩展的程序。基于电平触发型中断申请的撤除要求,提出了一种软硬结合的可行方案;基于节约单片机有限I/O资源的目的,提出了一种端口复用的新方案;并结合电路原理图,对方案作了详细地分析。

关 键 词:单片机  中断  汇编语言  优先级
文章编号:1671-1819(2007)19-5116-04
修稿时间:2007-05-11

External Interrupt Extension for Single Chip Microcomputer
XU Zhe,ZHANG Bo-heng,BIAN Chuan-ping,XU Man.External Interrupt Extension for Single Chip Microcomputer[J].Science Technology and Engineering,2007,7(19):5116-5119.
Authors:XU Zhe  ZHANG Bo-heng  BIAN Chuan-ping  XU Man
Abstract:The series of MCS-51 Single Chip Microcomputer(SCM) only have two external interrupts. Two common methods for the extension of external interrupts are introduced. It also specifies the program of interrupt's priority by assemble language.In order to withdraw the interrupts triggered by level, a available scheme with combination of hardware and software is given. Another available scheme is given,which is about port reuse technology,because the resource of I/O in the series of MCS-51 is too limited.It also analyzes these schemes according to circuit schematic diagram.
Keywords:single chip microcomputer interrupt assemble language priority
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《科学技术与工程》浏览原始摘要信息
点击此处可从《科学技术与工程》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号