#include <descriptor.h>
Data Fields | |
uint8_t | alternate_setting |
Alternate setting for value in interface_number. | |
uint8_t | descriptor_type |
Descriptor type (USB_DESCTYPE_INTERFACE). | |
uint8_t | endpoint_count |
Number of endpoints used by this interface. | |
uint8_t | interface_class |
Class code. | |
uint8_t | interface_number |
Number of interface. | |
uint8_t | interface_protocol |
Protocol code. | |
uint8_t | interface_subclass |
Subclass code. | |
uint8_t | length |
Size of this descriptor in bytes. | |
uint8_t | str_interface |
String descriptor describing this interface. |
Definition at line 120 of file descriptor.h.
uint8_t endpoint_count |
Number of endpoints used by this interface.
This number must exclude usage of endpoint zero (default control pipe).
Definition at line 135 of file descriptor.h.
uint8_t interface_number |
Number of interface.
Zero-based index into array of interfaces for current configuration.
Definition at line 128 of file descriptor.h.