83Plus:Software:usb8x/Asm Interface/GetClass

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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