The USB Bus device driver takes charge of control and communicates with hardware.
USB总线驱动程序负责控制实际的硬件,实现与底层的通信。
USB Function device driver is designed by client, it lies the up layer of USB Bus device driver, it sends and receives information from USB device by send URB to USB Bus device driver.
USB功能驱动程序由设备开发者编写,位于USB总线驱动程序的上层,通过向USB总线驱动程序发送USB请求包,来实现对USB设备信息的发送或接收。
Each controller on a bus can be individually addressed by the CPU, this is why the software device driver can write to its registers and thus control it.
在总线上的每个控制器可以被CPU所单独寻址,这是软件设备驱动程序能写入寄存器并能控制这些控制器的原因。
应用推荐