×

VxWorks实时操作系统中串口通信的实现

消耗积分:5 | 格式:rar | 大小:128 | 2010-01-11

百灵千岛酱

分享资料个

VxWorks RTOS具有良好的裁剪能力,用户可通过交叉开发环境根据需求裁剪组件,选择各种内核组件进行系统内核配置,编译系统内核时进行独立的加载和卸载.VxWorks RTOS提供了RAW MODE和LINE MODE两种串口工作模式,通过I/O 控制函数Ioctl()对串口参数进行选择,通过Select宏实现对串口数据读写与监测. 通过配置头文件中相应的配置宏来实现该系统的串口通信.VxWorks RTOS 支持x86、Power PC、68K、CPU32、SPARC、i960等多种平台. 并以x86平台为例,介绍基于x86平台的嵌入式VxWorks系统与PC机串口通信的实现方式以及串口通信的编程方法.

VxWorks RTOS has superior clipping ability.User can clip down groupware on the basis of requirements by using the Tornado cross-development environment.User configures kernel facilities of System by selecting some of the KerneI facilities,and all kernel facilities can be independently configured into the system.VxWolrks RTOS provides two serial port work modes of RAW-MODE and LINE_MODE.User can select serial port parameters by using the ioctl()routine,and can read,write and monitor serial ports through Select macros.The serial communication of system is realized threlugh configuring corresponding macros.VxWorks supports all kinds of operating platform,such as x86,Power PC,68K,CPU32,SPARC,j960 and so on.The realization ways and programming method of serial communication between embedded VxW orks system of X86 operating platform and PC was introduced.

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !