83Plus:Software:usb8x/Asm Interface/ReadDescriptor
From WikiTI
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