typedef struct UsbInterfaceDescriptor {...} __attribute__((packed)) UsbInterfaceDescriptor Defines standard interface descriptors, which correspond to Standard Interface Descriptor in the USB protocol.
Since: 10
Related module: UsbDdk
Header file: usb_ddk_types.h
| Name | Description |
|---|---|
| uint8_t bLength | Size of this descriptor, in bytes. |
| uint8_t bDescriptorType | Descriptor type. |
| uint8_t bInterfaceNumber | Interface ID. |
| uint8_t bAlternateSetting | Value used to select the alternate setting of the interface. |
| uint8_t bNumEndpoints | Number of endpoints (excluding endpoint 0) used by the interface. |
| uint8_t bInterfaceClass | Interface class code allocated by the USB-IF. |
| uint8_t bInterfaceSubClass | Interface subclass code allocated by the USB-IF. The value is limited by that of bInterfaceClass. |
| uint8_t bInterfaceProtocol | Interface protocol code allocated by the USB-IF. The value is limited by that of bInterfaceClass and bInterfaceSubClass. |
| uint8_t iInterface | Index of the string descriptor that describes the interface. |