首页| 行业标准| 论文文档| 电子资料| 图纸模型
购买积分 购买会员 激活码充值

您现在的位置是:团子下载站 > 其他 > VxWorks实时操作系统中串口通信的实现

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

  • 资源大小:128
  • 上传时间:2021-10-15
  • 下载次数:0次
  • 浏览次数:34次
  • 资源积分:1积分
  • 标      签: 串口 VxWorks

资 源 简 介

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.
VIP VIP