83Plus:Software:usb8x/Asm Interface/GetIDs

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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