论文部分内容阅读
在嵌入式操作系统Windows CE下,为了驱动外部USB设备,本文介绍了一种基于流接口驱动的USB设备驱动开发方案,先后从注册表的配置、驱动程序的加载、流接口驱动、软件设计等方面详细地分析了驱动程序的构成和工作原理。该方案有效地降低了USB传输协议编程的复杂度,并且易于代码维护和功能扩展。实验表明,该驱动实现了USB设备与操作系统间的高效数据传输,且具有可靠性高、传输速度快等特点。
In the embedded operating system Windows CE, in order to drive external USB devices, this paper introduces a USB interface driver-based device driver development program, from the registry configuration, driver loading, stream interface driver, software design In detail, the driver’s composition and working principle are analyzed in detail. The scheme effectively reduces the complexity of USB transfer protocol programming, and is easy to code maintenance and function expansion. Experiments show that this driver achieves efficient data transmission between USB device and operating system, and has the characteristics of high reliability and fast transmission speed.