Difference between revisions of "83Plus:Software:usb8x/Asm Interface/ReadDescriptor"

From WikiTI
Jump to: navigation, search
 
m (link *)
 
Line 21: Line 21:
  
 
== See Also ==
 
== See Also ==
[[../FindDescriptor|FindDescriptor]] - Finds a descriptor in a descriptor list
+
* [[../FindDescriptor|FindDescriptor]] - Finds a descriptor in a descriptor list

Latest revision as of 21:41, 15 July 2006

Synopsis

Name: ReadDescriptor

Minimum usb8x version: 0.05

Reads a descriptor from the connected device

Inputs

  • HL: Address of buffer to store descriptor
  • B: Descriptor type
  • C: Index (for string descriptors)

Outputs

  • NC: Success

Destroys

  • AF, BC, DE, HL

Notes

Descriptor types, like descConfig, descDevice, and descString; are equated in usb8x.inc.

See Also

  • [[../FindDescriptor|FindDescriptor]] - Finds a descriptor in a descriptor list