USB interface descriptor (USB 2.0 spec table 9-12) More...
USB interface descriptor (USB 2.0 spec table 9-12)
Definition at line 148 of file descriptor.h.
#include <descriptor.h>
Data Fields | |
| uint8_t | length | 
| Size of this descriptor  | |
| uint8_t | type | 
| Descriptor type (USB_TYPE_DESCRIPTOR_INTERFACE)  | |
| uint8_t | interface_num | 
| Interface number  | |
| uint8_t | alternate_setting | 
| Alternate setting index  | |
| uint8_t | num_endpoints | 
| Number of endpoints used by this interface  | |
| uint8_t | class | 
| Interface class code as assigned by the USB-IF  | |
| uint8_t | subclass | 
| Subclass code as assigned by the USB-IF  | |
| uint8_t | protocol | 
| Protocol code  | |
| uint8_t | idx | 
| Interface descriptor string index  | |