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

From WikiTI
Jump to: navigation, search
m (link *)
(oops)
 
Line 17: Line 17:
 
=== Destroys ===
 
=== Destroys ===
 
* AF
 
* 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 ==
 
== See Also ==
 
* [[../GetClass|GetClass]] - Gets class information from device
 
* [[../GetClass|GetClass]] - Gets class information from device

Latest revision as of 11:29, 23 August 2006

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

See Also

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