LUFA Library  130303
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
USB_Descriptor_Interface_t Struct Reference

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

#include <StdDescriptors.h>

Data Fields

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

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.
Note
Regardless of CPU architecture, these values should be stored as little endian.

Field Documentation

uint8_t USB_Descriptor_Interface_t::AlternateSetting

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.

uint8_t USB_Descriptor_Interface_t::Class

Interface class ID.

USB_Descriptor_Header_t USB_Descriptor_Interface_t::Header

Descriptor header, including type and size.

uint8_t USB_Descriptor_Interface_t::InterfaceNumber

Index of the interface in the current configuration.

uint8_t USB_Descriptor_Interface_t::InterfaceStrIndex

Index of the string descriptor describing the interface.

uint8_t USB_Descriptor_Interface_t::Protocol

Interface protocol ID.

uint8_t USB_Descriptor_Interface_t::SubClass

Interface subclass ID.

uint8_t USB_Descriptor_Interface_t::TotalEndpoints

Total number of endpoints in the interface.


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