Wixel SDK
Data Fields
USB_DESCRIPTOR_INTERFACE Struct Reference

#include <usb.h>

Data Fields

uint8 bLength
 
uint8 bDescriptorType
 
uint8 bInterfaceNumber
 
uint8 bAlternateSetting
 
uint8 bNumEndpoints
 
uint8 bInterfaceClass
 
uint8 bInterfaceSubClass
 
uint8 bInterfaceProtocol
 
uint8 iInterface
 

Detailed Description

Standard Interface Descriptor from USB Spec Table 9-12.

Definition at line 186 of file usb.h.

Field Documentation

uint8 bAlternateSetting

Value used to select this alternate setting (should be 0 in this library)

Definition at line 191 of file usb.h.

uint8 bDescriptorType

Should be DESCRIPTOR_INTERFACE

Definition at line 189 of file usb.h.

uint8 bInterfaceClass

Class code (assigned by USB-IF). Zero is reserved, 0xFF is vendor specific.

Definition at line 193 of file usb.h.

uint8 bInterfaceNumber

Number of this interface. Zero-based value in the array of interfaces supported by this configuration.

Definition at line 190 of file usb.h.

uint8 bInterfaceProtocol

Protocol code

Definition at line 195 of file usb.h.

uint8 bInterfaceSubClass

Subclass code

Definition at line 194 of file usb.h.

uint8 bLength

sizeof(struct USB_INTERFACE_DESCRIPTOR)

Definition at line 188 of file usb.h.

uint8 bNumEndpoints

Number of endpoints used (excluded EP0)

Definition at line 192 of file usb.h.

uint8 iInterface

Index of String Descriptor for this interface.

Definition at line 196 of file usb.h.


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