[RK3399][Android7.1] USB device scheduling

Insert picture description here

Article Directory

platform Kernel version Android version
RK3399 Linux4.4 Android7.1

Insert picture description here
USBThe scheduling idea of ​​the device driver is to passively receive the transmission command from the host, and complete the data transmission on the host by interrupt triggering. When a device-side interrupt is generated, the device controller driver first determines the type of interrupt. When the bulk transfer endpoint is INwhen the interrupt, the driver will EPnext linked REQdata are sequentially written to USB2.0 OTG IPthe memory area of the controller device; when the bulk transfer is OUTtime interrupt, the driver willUSB2.0

Guess you like

Origin blog.csdn.net/qq_33487044/article/details/108551609