- 1、本文档共137页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第11章 基本I/O接口 基本I/O(输入/输出)接口简介 独立编址I/O与存储器映像I/O 接口信号交换 接口电路 I/O端口译码 可编程外设接口电路(82C55) 可编程键盘/显示器接口芯片8279 可编程时间间隔定时器8254 可编程通信接口芯片16550 数/模转换器和模/数转换器 11-1 Introduction to I/O interface 11-1-1 接口功能 计算机两部件之间的界面称之为接口。 接口的主要功能是: (1)数据缓冲及输入、输出 (2)寻址功能 (3)命令译码 (4)同步、联络和控制功能 11-1-2 Basic I/O Instructions We discussed IN, OUT, INS and OUTS as instructions for the transfer of data to and from an I/O device. (see p384 table 11-1) IN and OUT transfer data between an I/O device and the microprocessor’s accumulator (AL, AX or EAX). The I/O address is stored in: Register DX as a 16-bit I/O address (variable addressing). The byte, p8, immediately following the opcode (fixed address). IN AL, 19H ;8-bits are saved ;to AL from I/O port 19H. IN EAX, DX ;32-bits are saved to EAX. OUT DX, EAX ;32-bits are written ;to port DX from EAX. OUT 19H, AX ;16-bits are written ;to I/O port 0019H. Notice: Only 16-bits (A0 to A15) are decoded. Address connections above A15 are undefined for I/O instructions. 0000H-03XXH are used for the ISA bus. INS and OUTS transfer to I/O devices (which address is in DX) using ES:DI and DS:SI, respectively. 11-1-3 Isolated versus Memory-Mapped I/O独立编址I/O与存储器映像I/O Isolated and Memory-Mapped I/O: In the Isolated scheme, IN, OUT, INS and OUTS are required. In the Memory-mapped scheme, any instruction that references memory can be used. Isolated versus Memory-Mapped I/O Isolated I/O 8-bit port addresses used to access system board device, e.g. timer and keyboard. 16-bit port addresses used to access serial and parallel ports, hard drivers, etc. PC I/O Address Map 11-1-4 Basic I/O Interface The basic input device (to the microprocessor) is a set of tri-state buffers. The basic output device (from the microprocessor) is a set of latches. Basic I/O Interface Basic I/O Interface 11-1-5 Handshaking 握手信号 I/O devices are typically slowe
您可能关注的文档
- 3-第三章发展心理学理论.ppt
- 3.3第三节汽化和液化1.ppt
- 3.第三章事务文书写作.ppt
- 32362《电力拖动与控制(第2版)》李岚第七章.ppt
- 3旅游者个性与服务策略.ppt
- 3月13日合生霄云路8号金融家活动总结.ppt
- 3月23日对擂的一周总结大会.ppt
- 3月总结和4月计划.ppt
- 3第三章运算方法与运算器1.ppt
- 4-3-4第四节调查报告和科普文章阅读.ppt
- 第十一章 电流和电路专题特训二 实物图与电路图的互画 教学设计 2024-2025学年鲁科版物理九年级上册.docx
- 人教版七年级上册信息技术6.3加工音频素材 教学设计.docx
- 5.1自然地理环境的整体性 说课教案 (1).docx
- 4.1 夯实法治基础 教学设计-2023-2024学年统编版九年级道德与法治上册.docx
- 3.1 光的色彩 颜色 电子教案 2023-2024学年苏科版为了八年级上学期.docx
- 小学体育与健康 四年级下册健康教育 教案.docx
- 2024-2025学年初中数学九年级下册北京课改版(2024)教学设计合集.docx
- 2024-2025学年初中科学七年级下册浙教版(2024)教学设计合集.docx
- 2024-2025学年小学信息技术(信息科技)六年级下册浙摄影版(2013)教学设计合集.docx
- 2024-2025学年小学美术二年级下册人美版(常锐伦、欧京海)教学设计合集.docx
文档评论(0)