Difference between revisions of "83Plus:Software:usb8x/Asm Interface/GetClass"
From WikiTI
m (link *) |
|||
Line 22: | Line 22: | ||
== See Also == | == See Also == | ||
− | [[../GetIDs|GetIDs]] - Gets ID information from device | + | * [[../GetIDs|GetIDs]] - Gets ID information from device |
Latest revision as of 21:40, 15 July 2006
Synopsis
Name: GetClass
Minimum usb8x version: 0.05
Gets class, subclass, and protocol information for the connected device
Inputs
- HL: Address of temporary buffer for device/config descriptor.
Outputs
- A: Class
- B: Subclass
- C: Protocol
- NC: Success
Destroys
- DE, HL
Notes
Initially tries to read class information from device descriptor. If the device descriptor indicates that class information is held in the the interface descriptor, it is read from the first interface descriptor instead.
See Also
- [[../GetIDs|GetIDs]] - Gets ID information from device