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