摘要
为了将通用串行总线(USB)应用于数据采集系统中,提出了利用Windows2000设备驱动开发包(DDK)开发USB驱动程序的方法。该方法将USB驱动程序分为即插即用(PnP)、电源管理、USB初始化和USB设备I/O等功能模块,在这几个模块中,只有USB初始化和USB设备I/O模块跟具体的USB设备有关。该方法具有结构清晰、易移植、复用性好等优点,在USB驱动程序设计中具有良好的应用价值。
To apply USB(Universal Serial Bus) to data acquisition system, a metho d to design USB driver by means of Windows 2000 device DDK(Driver Development K it) is proposed. The USB driver has been divided into four function modules: pl ug and play (PnP), Power management, USB initialization and USB device I/O, among which USB initialization and USB device I/O are only associate with the specific USB devices. The method has some merits such as clear structure, easy transplant, effective software reuse, and it is also effective for USB derive d esign in practice.
出处
《吉林大学学报(信息科学版)》
CAS
2003年第2期183-187,共5页
Journal of Jilin University(Information Science Edition)