分析了Linux操作系统下设备驱动程序的工作机制和一般结构.在PC/104Plus总线的嵌入武系统硬件环境下,设计并实现了多功能数采卡在Linux下的驱动程序.提出一种访问设备缓存区的定时查询读数方式,该方式在提高与设备交互速度的同时降低了对CPU系统资源的占用率.%After analyzing the work mechanism and the common structure of hardware device driver in Linux, the design and implementation of the driver are described for a data acquisition card complying with PC/104Plus standard in Linux environment. An approach to access the device cache based on timing inquires is proposed. It not only improve the interactive speed with the device but also avoid high CPU utility.
展开▼