LUFA Library  120219
USB_Descriptor_Interface_t Struct Reference

Standard USB Interface Descriptor (LUFA naming conventions). More...

#include <StdDescriptors.h>

Data Fields

USB_Descriptor_Header_t Header
uint8_t InterfaceNumber
uint8_t AlternateSetting
uint8_t TotalEndpoints
uint8_t Class
uint8_t SubClass
uint8_t Protocol
uint8_t InterfaceStrIndex

Detailed Description

Type define for a standard Interface Descriptor. This structure uses LUFA-specific element names to make each element's purpose clearer.

See also:
USB_StdDescriptor_Interface_t for the version of this type with standard element names.
Regardless of CPU architecture, these values should be stored as little endian.

Field Documentation

Alternate setting for the interface number. The same interface number can have multiple alternate settings with different endpoint configurations, which can be selected by the host.

Interface class ID.

Descriptor header, including type and size.

Index of the interface in the current configuration.

Index of the string descriptor describing the interface.

Interface protocol ID.

Interface subclass ID.

Total number of endpoints in the interface.

The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines