usb_standard_interface_descriptor_t Struct Reference
[Base USB library]

Standard USB interface descriptor. More...

#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.


Detailed Description

Standard USB interface descriptor.

Definition at line 120 of file descriptor.h.


Field Documentation

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.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 2 07:46:01 2011 for HelenOS/USB by  doxygen 1.4.7