摘要
Vx Works是WindRiver公司开发的嵌入式实时操作系统,广泛地应用于航空航天、工业控制、通信等领域;在简单地介绍了Vx Works操作系统之后,分析了VxWorks下CPCI设备驱动程序的实现方法;以CPCI9112数据采集卡的驱动程序开发为例,介绍了CompactPCI总线以及PCI接口芯片S5935,重点说明了在Vx Works下以定时器和中断方式实现模数转换驱动程序的方法和编程要点,并给出了部分关键代码;在飞行控制半实物仿真系统中的运行结果表明驱动程序运行稳定、可靠。
VxWorks is a Embedded Real-Time Operation System developed by WindRiver company, and is very popular used in aeronautics and astronautics, industry control and communication domain. After introducing the VxWorks Operation System, the method of develop CPCI device driver in VxWorks is introduced. And according to a device driver example of CPCI9112 data acquisition card in real-time system VxWorks, the CompactPCI bus and PCI interface chip S5935 are introduced, especially e the method and essential of programming device driver about analog to digit conversion by using counter and interrupt control are presented, and then some key programs are given. Fhe driver has been used in flight control simulation system, the result indicates that the device driver is stable and credible.
出处
《计算机测量与控制》
CSCD
2007年第5期677-679,共3页
Computer Measurement &Control