基于VxWorks的HDLC设备驱动库设计与实现
esign and Implementation of HDLC Device Driver Library
在VxWorks操作系统中,传统的HDLC设备驱动采用在应用程序中直接读写硬件寄存器的方案实现,这种方案存在开发难度大、移植性差等问题。针对这种情况,本文提出了一种新的HDLC设备驱动方案,将HDLC设备驱动中硬件无关的部分提取出来,在VxWorks I/O系统和底层硬件驱动之间实现HDLC设备驱动库。描述了HDLC设备驱动库的总体方案,包括读、写、初始化流程以及缓冲区的存储表示、接口函数,以SAB82538H为硬件验证了HDLC设备驱动库的可用性。
he traditional HDLC device driver in VxWorks which is implemented through directly operating devices has shortages in development difficulty and portability. Aiming at these shortages, device independent HDLC device driver library is implemented between VxWorks I/O system and hardware driver. First of all, the whole scheme is described, including read, write and initialization process. Secondly, the memory structure and API of frame buffer are discussed. Finally, this scheme is verified upon Siemens SAB82538H.
陈煦阳、常诚
通信
VxWorksHDLC设备驱动库SAB82538H
VxWorksHDLCdevice driver librarySAB82538H
陈煦阳,常诚.基于VxWorks的HDLC设备驱动库设计与实现[EB/OL].(2007-10-15)[2025-08-02].http://www.paper.edu.cn/releasepaper/content/200710-184.点此复制
评论