LUFA Library  151115
USB_Audio_StdDescriptor_Interface_AC_t Struct Reference

Audio class-specific Interface Descriptor (USB-IF naming conventions). More...

#include <AudioClassCommon.h>

Data Fields

uint16_t bcdADC
uint8_t bDescriptorSubtype
uint8_t bDescriptorType
uint8_t bInCollection
uint8_t bInterfaceNumbers
uint8_t bLength
uint16_t wTotalLength

Detailed Description

Type define for an Audio class-specific interface descriptor. This follows a regular interface descriptor to supply extra information about the audio device's layout to the host. See the USB Audio specification for more details.

See also
USB_Audio_Descriptor_Interface_AC_t for the version of this type with non-standard LUFA specific element names.
Regardless of CPU architecture, these values should be stored as little endian.

Field Documentation

uint16_t USB_Audio_StdDescriptor_Interface_AC_t::bcdADC

Binary coded decimal value, indicating the supported Audio Class specification version.

See also
VERSION_BCD() utility macro.
uint8_t USB_Audio_StdDescriptor_Interface_AC_t::bDescriptorSubtype

Sub type value used to distinguish between audio class-specific descriptors, a value from the Audio_CSInterface_AS_SubTypes_t enum.

uint8_t USB_Audio_StdDescriptor_Interface_AC_t::bDescriptorType

Type of the descriptor, either a value in USB_DescriptorTypes_t or a value given by the specific class.

uint8_t USB_Audio_StdDescriptor_Interface_AC_t::bInCollection

Total number of Audio Streaming interfaces linked to this Audio Control interface (must be 1).

uint8_t USB_Audio_StdDescriptor_Interface_AC_t::bInterfaceNumbers

Interface number of the associated Audio Streaming interface.

uint8_t USB_Audio_StdDescriptor_Interface_AC_t::bLength

Size of the descriptor, in bytes.

uint16_t USB_Audio_StdDescriptor_Interface_AC_t::wTotalLength

Total length of the Audio class-specific descriptors, including this descriptor.

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