83Plus:Software:usb8x/Asm Interface/GetClass

From WikiTI
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