首页 | 本学科首页   官方微博 | 高级检索  
     

嵌入式Linux操作系统下的串行通信
引用本文:姚飞昭,丁金华,宋鹏.嵌入式Linux操作系统下的串行通信[J].大连轻工业学院学报,2008,27(3):270-273.
作者姓名:姚飞昭  丁金华  宋鹏
作者单位:[1]大连工业大学机械工程与自动化学院,辽宁大连116034 [2]中国石油集团工程设计有限责任公司大连分公司,辽宁大连116011
摘    要:介绍了Linux操作系统串口的参数、串口资源和常用的程序开发工具,以及使用termios数据结构对串口进行配置的过程,给出了在该系统下串行口编程控制的方法。在Red Hat9.0和SUMSUNG公司的S3C2410平台下,通过串口和通讯协议实现了数据传输。由于Linux系统的稳定性更高,数据传输的准确率也有了提高。

关 键 词:串行通信  Linux系统  Linux内核

Research of serial communication on Linux system
YAO Fei-zhao,DING Jin-hua,SONG Peng.School of Mechanical Engineering & Automation,Dalian Polytechnic University,Dalian ,China,.China Petroleum Engineering Corporation Limited Dalian Company,Dalian.Research of serial communication on Linux system[J].Journal of Dalian Institute of Light Industry,2008,27(3):270-273.
Authors:YAO Fei-zhao  DING Jin-hua  SONG PengSchool of Mechanical Engineering & Automation  Dalian Polytechnic University  Dalian  China  China Petroleum Engineering Corporation Limited Dalian Company  Dalian
Affiliation:YAO Fei-zhao1,DING Jin-hua1,SONG Peng21.School of Mechanical Engineering & Automation,Dalian Polytechnic University,Dalian 116034,China,2.China Petroleum Engineering Corporation Limited Dalian Company,Dalian 116011
Abstract:The serial parameters,resource and frequency-used development tools under Linux OS was reviewed.How to configure and control the serial ports through termios data structure and programming were also studied.Data transmitting came true via the serial port and communication protocol under the platform of Red Hat9.0 and S3C2410.The data transmitting accuracy percent was high due to the stability of Linux OS.
Keywords:serial communication  Linux system  Linux core  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号