Article Directory
platform | Kernel version | Android version |
---|---|---|
RK3399 | Linux4.4 | Android7.1 |
USB
The 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 IN
when the interrupt, the driver will EP
next linked REQ
data are sequentially written to USB2.0 OTG IP
the memory area of the controller device; when the bulk transfer is OUT
time interrupt, the driver willUSB2.0