libusbK 
3.0
Library Documentation
© 2011-2021 Travis Lee Robinson. All rights reserved.
USB_INTERFACE_DESCRIPTOR Struct Reference

A structure representing the standard USB interface descriptor. More...

#include <libusbk.h>

Data Fields

UCHAR bLength
 Size of this descriptor (in bytes)
 
UCHAR bDescriptorType
 Descriptor type.
 
UCHAR bInterfaceNumber
 Number of this interface.
 
UCHAR bAlternateSetting
 Value used to select this alternate setting for this interface.
 
UCHAR bNumEndpoints
 Number of endpoints used by this interface (excluding the control endpoint)
 
UCHAR bInterfaceClass
 USB-IF class code for this interface.
 
UCHAR bInterfaceSubClass
 USB-IF subclass code for this interface.
 
UCHAR bInterfaceProtocol
 USB-IF protocol code for this interface.
 
UCHAR iInterface
 Index of string descriptor describing this interface.
 

Detailed Description

A structure representing the standard USB interface descriptor.

This descriptor is documented in section 9.6.5 of the USB 2.0 specification. All multiple-byte fields are represented in host-endian format.

Examples:
config-interface.c, xfer-iso-asap.c, and xfer-iso.c.

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