摘要
WDM支持PNP,但在科研和工控中,最常用的数据采集卡通常都是基于PC总线的ISA设备,这类设备不支持PNP,在WDM中没有获得很好的支持。使用WDM开发这类设备的驱动程序需要一些特殊处理。首先介绍PC/104规范和WDM驱动的结构以及通用的开发思路,然后重点讨论基于PC/104音频采集压缩卡WDM驱动程序的设计与实现,并给出主体部分代码。实践证明该驱动能稳定地实现一般设备驱动程序所具备的功能,且对ISA卡驱动的开发也具有一定参考价值。
PNP is supported by WDM. But in the field of research and industry control,the data acquisition system is ISA equipment based on PC bus. This kind of equipment can't support PNP,so it can't get efficient surport in WDM. Using WDM to develop this kind of driver program needs some special processing. In this paper, we first introduce the PC/104 specification and the structure of the Windows driver model, as well as the way about how to develop a WDM driver. The focuses are laid on the design and implement of a WDM driver which is developed for an image acquisition system based on PC/104 bus. The principal part of the source code for that driver is listed. The actual application proves that the system is able to perform the same as universal drivers do. It also provides a certain extent of reference value to the development of a driver based on ISA bus.
出处
《现代电子技术》
2008年第6期33-35,共3页
Modern Electronics Technique