Changes

Jump to navigation Jump to search
334 bytes added ,  23:13, 20 November 2018
no edit summary
Line 484: Line 484:     
=== GetCtrlXferReport ===
 
=== GetCtrlXferReport ===
Takes a type-0x6 output buffer, no output.
+
Takes a type-0x6 output buffer, no output. The output buffer contains a [[#XferReport]].
    
=== ResetDevice ===
 
=== ResetDevice ===
Line 551: Line 551:  
The input u32 specifies the total number of entries to read, this must fit within the specified buffer size. The output u32 is the total actual output entries.
 
The input u32 specifies the total number of entries to read, this must fit within the specified buffer size. The output u32 is the total actual output entries.
   −
The buffer contains an array of 0x18-byte report structs.
+
The buffer contains an array of [[#XferReport]].
    
= UsbHsInterface =
 
= UsbHsInterface =
Line 582: Line 582:     
This is a 0x228-byte struct (unofficial name).
 
This is a 0x228-byte struct (unofficial name).
 +
 +
= XferReport =
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x4 || ?
 +
|-
 +
| 0x4 || 0x4 || Result
 +
|-
 +
| 0x8 || 0x4 || ?
 +
|-
 +
| 0xC || 0x4 || Actual transferred size.
 +
|-
 +
| 0x10 || 0x8? || ?
 +
|}
 +
 +
This is a 0x18-byte struct.
 +
 +
Official sw only uses the Result/size fields.
    
= usb:pd =
 
= usb:pd =

Navigation menu