摘要
USB具有方便快速等优点,已经发展成为一种比较普遍的计算机与外围设备之间的接口。但是,USB设备不能够用传统方式中断主计算机,而是提供中断端点,主机可以周期性地查询中断端点。由于USB设备发生中断的时间不确定性,这就使中断传输的设备驱动程序开发的难度加大。阐述了实现USB中断传输的设备驱动程序和应用程序的设计原则和方法,该方法具有很强的通用性,并经过实践证明具有很好的实用性。
USB has become an increasingly popular interface between peripheral device and host computer, for it is ideal for portable and high speed applications. But USB devices cant interrupt the host computer in traditional way. Where an asynchronous interrupt occurs, USB provides interrupt endpoints and the host polls periodically. The fact of uncertainty in interrupt time of a USB device makes it more difficult to develop device driver based on interrupt transfer. In this paper it introduces the design principle and methods of device driver and application program for realizing USB interrupt transfer, which offers great universality and is proved of feasible in practice.
出处
《计算机应用与软件》
CSCD
北大核心
2008年第8期181-183,233,共4页
Computer Applications and Software
关键词
通用串行总线
中断传输
事件
Universal serial bus Interrupt transfer Event