文件名称:8255
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.66kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写程序,使8255端口A工作在方式0并作为输出口,端口B工作在方式1并作为输入口,则端口C的PC2成为选通信号输入端STBB,PC2成为中断请求信号输出端INTRB。
当B口数据就绪后,通过发STBB 信号来请求CPU读取端口B数据,并送A端口输出显示。
-Write a program to work in 8255 mode 0, port A as output port, the port operating in mode 1 and B as input port, the port C of PC2 as strobe input STBB, PC2 as an interrupt request signal output INTRB. When the B port data ready, the request by sending signals to CPU STBB read port B data, and sent A port output.
当B口数据就绪后,通过发STBB 信号来请求CPU读取端口B数据,并送A端口输出显示。
-Write a program to work in 8255 mode 0, port A as output port, the port operating in mode 1 and B as input port, the port C of PC2 as strobe input STBB, PC2 as an interrupt request signal output INTRB. When the B port data ready, the request by sending signals to CPU STBB read port B data, and sent A port output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
8255接口实验.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.