mirror of
https://github.com/54shady/kernel_drivers_examples.git
synced 2025-08-11 23:32:00 +00:00
USB : rename the data flow function name
This commit is contained in:
@ -157,6 +157,8 @@ Slave端(开发板),进入下载模式后枚举成MassStroage设备,循环等待
|
||||
写流程(usb_write)
|
||||
- Host发送cbw,其中cdb里包含写命令,并发送要写的数据,Slave返回csw
|
||||
|
||||
下图中的所有术语是按主机的角度说明的
|
||||
|
||||

|
||||
|
||||
Libusb编程核心步骤
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 10 KiB |
@ -5,12 +5,12 @@ participant "Slave(rockusb)" as slave
|
||||
|
||||
host -> slave : send_cbw
|
||||
note right : usb_read
|
||||
slave -> host : send_data
|
||||
slave -> host : send_csw
|
||||
slave -> host : recv_data
|
||||
slave -> host : recv_csw
|
||||
|
||||
host -> slave : send_cbw
|
||||
note right : usb_write
|
||||
host -> slave : send_data
|
||||
slave -> host : send_csw
|
||||
slave -> host : recv_csw
|
||||
|
||||
@enduml
|
||||
|
Reference in New Issue
Block a user