83Plus:Software:usb8x/Asm Interface/GetIDs

From WikiTI
Revision as of 22:40, 15 July 2006 by Dan Englender (Talk | contribs)

Jump to: navigation, search

Synopsis

Name: GetIDs

Minimum usb8x version: 0.05

Gets version, vendor ID, and product ID from the connected device.

Inputs

  • HL: Address of temporary buffer for device descriptor.

Outputs

  • BC: Version
  • DE: Product ID
  • HL: Vendor ID
  • NC: Success

Destroys

  • AF

Notes

All other routines, aside from GetVersion and IsDeviceConnected, require the driver to be initialized. Call this routine before attempting to use USB devices or the driver will crash.

See Also

  • [[../GetClass|GetClass]] - Gets class information from device