Barrelfish
Data Fields
usb_interface_descriptor Struct Reference

Data Fields

uint8_t bLength
 should be 9 bytes
 
uint8_t bDescriptorType
 always USB_DESCRIPTOR_TYPE_INTERFACE
 
uint8_t bInterfaceNumber
 number of this interface within the config
 
uint8_t bAlternateSetting
 the alternate setting
 
uint8_t bNumEndpoints
 number of used endpoints in this interface
 
uint8_t bInterfaceClass
 interface class code (assigned by USB-IF)
 
uint8_t bInterfaceSubClass
 interface subclass code (assigned by USB-IF)
 
uint8_t bInterfaceProtocol
 protocol code (qualified by class/subclass)
 
uint8_t iInterface
 string index describing this interface
 

Detailed Description


USB Interface Descriptor (USB Specification, Rev 2.0, Section 9.6.5)

This descriptor contains information about a specific interface within an USB configuration. The interface descriptor defines an unique set of endpoints within the configuration.

Interface descriptors cannot directly be accesses by Get/SetDescriptor(), they are returned as a part of the configuration descriptor.


The documentation for this struct was generated from the following file: