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

Field Documentation

◆ AlternateSetting

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.

◆ Class

uint8_t USB_Descriptor_Interface_t::Class

Interface class ID.

◆ Header

USB_Descriptor_Header_t USB_Descriptor_Interface_t::Header

Descriptor header, including type and size.

◆ InterfaceNumber

uint8_t USB_Descriptor_Interface_t::InterfaceNumber

Index of the interface in the current configuration.

◆ InterfaceStrIndex

uint8_t USB_Descriptor_Interface_t::InterfaceStrIndex

Index of the string descriptor describing the interface.

◆ Protocol

uint8_t USB_Descriptor_Interface_t::Protocol

Interface protocol ID.

◆ SubClass

uint8_t USB_Descriptor_Interface_t::SubClass

Interface subclass ID.

◆ TotalEndpoints

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: