摘要
本文介绍了如何用Microsoft公司提供的驱动程序开发包(DDK)工具开发win2000/xp下的USB设备驱动程序。首先概述了USB驱动程序体系结构和Windows驱动程序模型等用于开发USB设备驱动程序背景知识。然后深入的讲述了用DDK编写USB设备驱动程序必须用到的几个关键技术,包括USB设备驱动程序入口与初始化、如何建立并提交USB请求块(URB)给总线驱动程序(USBD)、USB设备如何配置、USB四种通信管道的管理等四个方面。
This paper introduces how to develop USB device driver under windows 2000 with Driver Development Kit (DDK)provided by Microsoft. In the beginning, some background knowledge like Windows Driver Model and USB Driver SystemFramework, used by compiling USB device driver, is summarized. Then, some key techniques, which must be used bycompiling USB device driver with DDK, are narrated particularly. These key techniques include the entry and initialization ofUSB device driver, how to build USB Request Block(URB) and submit it to USB driver(USBD),and how to configure USBdevice.
出处
《微型电脑应用》
2005年第6期50-51,55,共3页
Microcomputer Applications