用优先权编码器扩展PIC的外部中断源  被引量:1

Expanding outer interrupt requests of PIC16 F 877 single chip with priority encoder 74LS 148

在线阅读下载全文

作  者:刘子胥[1] 陈金辉[1] 姚振静[1] 

机构地区:[1]河北工业大学电气与自动化学院,天津300130

出  处:《电力自动化设备》2007年第4期115-117,共3页Electric Power Automation Equipment

摘  要:由于PIC16F 877单片机没有设置外部的中断优先级,提出了一种用74LS148优先权编码器来扩展PIC16F 877单片机的外部中断源。当PIC16F 877单片机外部有多个中断源中断请求时,74LS148优先权编码器首先对这些中断源进行优先级排序,把优先级别高的中断送入单片机中断入口,让单片机响应中断级别高的中断请求,处理完这一中断后返回,等待下一轮中断请求。给出了PIC16F 877和74LS148的硬件连接图和中断服务子程序。As PIC16F877 has no priority of outer interruption requests,a method of using priority encoder 74LS148 to expand its outer interruption requests is proposed' When there are several outer interruption requests,74LS 148 sorts them according to their priorities first,the request with higher priority is then sent to the interruption input of PIC16F877. When the interruption is processed completely,PIC16F 877 waits for next interruption request. The hardware connections between PIC168F 877 and 74LS 148,as well as the interruption service subroutine,are provided.

关 键 词:优先权编码器 外部中断源 中断服务子程序 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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