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

利用编码器对单片机中断功能的扩展
引用本文:张迁,常菁,卢超. 利用编码器对单片机中断功能的扩展[J]. 电子技术, 2009, 36(8): 62-63,61
作者姓名:张迁  常菁  卢超
作者单位:陕西理工学院,物理系;陕西理工学院,物理系;陕西理工学院,物理系
摘    要:以74LS148为例,结合Proteus仿真软件实例提出了利用优先编码器的优先级扩展输出端(GS)与51系列单片机外中断端口(INT0或INT1)相连,用8个开关(SW1-SW8)来仿真控制编码器8个输入端口(I0—I7)的高低电平的输入,从而实现对外中断扩展的方法,并给出了参考程序。结合程序观察仿真现象,可以清楚的看到编码器已从硬件电路上实现了对中断源优先级的高低排序,以及实现了外中断的嵌套。

关 键 词:单片机  外中断  编码器  优先级  Proteus

The Extension of MCU'S Interruption Function Utilizing Encoder
Zhang Qian,Chang Jing,Lu Chao. The Extension of MCU'S Interruption Function Utilizing Encoder[J]. Electronic Technology, 2009, 36(8): 62-63,61
Authors:Zhang Qian  Chang Jing  Lu Chao
Affiliation:Department of Physics;Shaanxi University of Technology
Abstract:Taking 74LS148 as the example, and combining with Proteus simulation software, a method for extension of external interruption is proposed, which uses the priority expand output port(GS) of priority encoder to connect with the external interruption port(INT0 or INT1) of 51 series micro controller unit(MCU), and use 8 switches(SW1-SW8) to simulate and control the input of high/low levels of 8 input ports(I0-I7) of the encoder.And a reference procedure is given.Combining program to observes the simulation phe...
Keywords:MCU  external interruption  encoder  priority  Proteus  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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