Difference between revisions of "83Plus:Software:usb8x/Asm Interface/GetIDs"
From WikiTI
(No difference)
|
Revision as of 22:23, 15 July 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
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