检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.13