USB services: Difference between revisions

No edit summary
Line 199: Line 199:
| 10 || || No input. Returns 0x84 bytes of output.
| 10 || || No input. Returns 0x84 bytes of output.
|-
|-
| 11 || || No input/output.
| 11 || [[#StallCtrl]] ||  
|}
|}


Line 229: Line 229:
=== GetCtrlOutCompletionEvent ===
=== GetCtrlOutCompletionEvent ===
Returns an event handle for polling the completion of output control commands.
Returns an event handle for polling the completion of output control commands.
=== StallCtrl ===
No input/output.
Calls a function with both control endpoints(0x80 and 0x00) with the same function. From strings: "m_pProtocol->Stall(0x80)" "m_pProtocol->Stall(0x00)".


=== IDsEndpoint ===
=== IDsEndpoint ===
Line 243: Line 248:
| 3 || [[#GetReportData]] ||  
| 3 || [[#GetReportData]] ||  
|-
|-
| 4 || || No input/output.
| 4 || [[#Stall]] ||  
|-
|-
| 5 || || Takes an input u8, no output.
| 5 || || Takes an input u8, no output.
Line 253: Line 258:
==== GetReportData ====
==== GetReportData ====
Returns 0x84 bytes of report data from the endpoint.
Returns 0x84 bytes of report data from the endpoint.
==== Stall ====
No input/output.
Calls the same function used by [[#StallCtrl]], except this uses the endpoint associated with the current session.


= usb:hs =
= usb:hs =