摘要
针对军用PDA硬件自定义设备在VxWorks嵌入式操作系统中的标准化驱动程序开发需求,分析了VxWorks嵌入式操作系统的驱动程序功能设计,以多串口通信驱动为例,结合看门狗定时器和中断处理机制,采用VxWorks系统自身提供的环形缓冲区管理接口库函数,设计了一种更为可靠高效、性能稳定的字符设备底层驱动程序,减少了通信的丢包率,提高了效率。对所有基于环形缓冲机制下的VxWorks字符设备驱动程序开发者具有参考价值。
For development requirements of standard driving of the military PDA custom hardware in VxWorks embedded operation system,Analyzed the driver function design of VxWorks embedded operating system,with multiple serial ports driver as an example ,combined with the watchdog timer and interrupt handling mechanism,used thering managementinterface function VxWorks System itself provides, designed a more efficient and reliable, stable performance of the driver of character device, reduced the rateof loss ofcommunication and improved the efficiency.All reference value based on VxWorks character device driver develon,~r.q tn th,~,-;,~,~
出处
《电子设计工程》
2017年第16期37-41,共5页
Electronic Design Engineering
作者简介
唐小贝(1975-),男,湖南洞口人,硕士,工程师。研究方向:作战仿真、软件建模、系统工程。