作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2005, Vol. 31 ›› Issue (19): 235-237.

• 论文 • 上一篇    下一篇

串行端口底层通信机理研究及相应实现

钟文,王益   

  1. 华东计算技术研究所,华东计算技术研究所 上海 200233
  • 发布日期:2005-10-15

Mechanism Research of Serial Port Communication in Basis and Relevant Realization

ZHONG Wen,WANG Yi   

  1. (East China Institute of Computer Technology,Shanghai 200233)
  • Published:2005-10-15

摘要: 一般基于应用层面的串行通信将端口设备广义地视为文件,采用CreateFile方式实现通信。该文分析了INS8250串行控制芯片和Intel8259中断控制芯片相应寄存器的配置与地址读写,以及实现对串行端口的安装、初始化、通信、卸载等功能,对串行端口底层通信的机理进行了研究。

关键词: 串口, 串行通信

Abstract: In general,the serial communication in the application interface is usually regarded the port devices as files,and realized the communication by CreateFile mode.This paper analyzes the serial control chip of INS 8250 and interrupt control chip of Intel 8259,configuring the registers,writing or reading in the relevant address,it realizes the function of installation,initialization,communication and uninstall of serial port,

中图分类号: