摘要
Linux操作系统由于其源码开放、具有可裁剪等特点在嵌入式系统中得到越来越广泛的应用,而USB接口在嵌入式系统中的应用也十分广泛,现在的嵌入式系统的硬件平台大多数是基于ARM处理器的。文中介绍基于ARM平台的Linux2.6内核下,嵌入式USB主机设备驱动开发实现。具体的从USB设备驱动的开发流程出发,介绍了USB接口的一般原理和USB通信的一般过程,然后对USB驱动骨架进行了分析,最后给出了驱动具体实现的关键代码。
Linux operating system due to its source open,with cutting characteristics in embedded systems is increasingly applied,and USB interface on the embedded system application also is very extensive,now the embedded system hardware platform is most based on ARM processor.Standard is introduced based on the ARM platform kernel Linux 2.6,embedded USB host device driver development realization.From the USB device driver of the development process,we introduce the USB interface of the general principle and USB communication general process,then USB driver skeleton was analyzed,and finally gives a concrete realization of key driver code.
出处
《实验科学与技术》
2012年第1期71-73,共3页
Experiment Science and Technology