DOS与Windows环境下串行通信方法的研究  被引量:1

Study on method of serial communication between DOS and windows system

在线阅读下载全文

作  者:杨国志[1] 邢继峰[1] 

机构地区:[1]海军工程大学动力工程学院,湖北武汉430033

出  处:《计算机工程与设计》2004年第8期1311-1312,1316,共3页Computer Engineering and Design

摘  要:针对Windows环境下串行通信机制,研究了DOS环境下与之相对应的功能实现方法,提出了C语言程序设计方案。在系统通信中,设置数据流控制协议,开辟环形缓冲区处理通信数据,调用串行口的中断管理资源,实现异步通信,确保数据通信实时、稳定,效果良好。Contraposing the serial communication mechanism of the windows system, of the corresponding realization method for DOS system is studied, and introduces programming precept based on C language is introduced. In system communication, in order to realize the asynchronous serial communication, it sets the command agreement of the data stream, assigns a cricoid buffer to manage the communication data, and uses the serial port's interrupt mechanism. This technique insures the data communicates steadily in real time, and brings into better effect.

关 键 词:DOS WINDOWS环境 串行通信 中断管理 调用 实时 流控制 环形缓冲区 数据通信 协议 

分 类 号:TP316[自动化与计算机技术—计算机软件与理论] TP393[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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