利用编码器对单片机中断功能的扩展  

The Extension of MCU's Interruption Function Utilizing Encoder

在线阅读下载全文

作  者:张迁[1] 常菁[1] 卢超[1] 

机构地区:[1]陕西理工学院物理系

出  处:《电子技术(上海)》2009年第8期62-63,61,共3页Electronic Technology

摘  要:以74LS148为例,结合Proteus仿真软件实例提出了利用优先编码器的优先级扩展输出端(GS)与51系列单片机外中断端口(INT0或INT1)相连,用8个开关(SW1-SW8)来仿真控制编码器8个输入端口(I0-I7)的高低电平的输入,从而实现对外中断扩展的方法,并给出了参考程序。结合程序观察仿真现象,可以清楚的看到编码器已从硬件电路上实现了对中断源优先级的高低排序,以及实现了外中断的嵌套。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 phenomenon, it is clear that the encoder has, from the hardware circuit, achieved the interruption priority sorting of these interruption sources, as well as realized the nesting of external interruption.

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

分 类 号:TN762[电子电信—电路与系统] TP368.1[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象