| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
USB_MIDI_Descriptor_AudioInterface_AS_t Struct Reference
Common Class Definitions

MIDI class-specific Streaming Interface Descriptor (LUFA naming conventions). More...

`#include <MIDIClassCommon.h>`

## Data Fields
uint16_t | AudioSpecification
USB_Descriptor_Header_t | Header
uint8_t | Subtype
uint16_t | TotalLength

## Detailed Description

Type define for an Audio class-specific MIDI streaming interface descriptor. This indicates to the host how MIDI the specification compliance of the device and the total length of the Audio class-specific descriptors. See the USB Audio specification for more details.

See also
  USB_MIDI_StdDescriptor_AudioInterface_AS_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

uint16_t USB_MIDI_Descriptor_AudioInterface_AS_t::AudioSpecification

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

See also
  VERSION_BCD() utility macro.

USB_Descriptor_Header_t USB_MIDI_Descriptor_AudioInterface_AS_t::Header

Regular descriptor header containing the descriptor's type and length.

uint8_t USB_MIDI_Descriptor_AudioInterface_AS_t::Subtype

Sub type value used to distinguish between audio class-specific descriptors.

uint16_t USB_MIDI_Descriptor_AudioInterface_AS_t::TotalLength

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

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

- Drivers/USB/Class/Common/MIDIClassCommon.h