LUFA Library  140928
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
USB_MIDI_StdDescriptor_AudioInterface_AS_t Struct Reference

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

#include <MIDIClassCommon.h>

Data Fields

uint16_t bcdMSC
 
uint8_t bDescriptorSubtype
 
uint8_t bDescriptorType
 
uint8_t bLength
 
uint16_t wTotalLength
 

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_Descriptor_AudioInterface_AS_t for the version of this type with non-standard LUFA specific element names.
Note
Regardless of CPU architecture, these values should be stored as little endian.

Field Documentation

uint16_t USB_MIDI_StdDescriptor_AudioInterface_AS_t::bcdMSC

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

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

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

uint8_t USB_MIDI_StdDescriptor_AudioInterface_AS_t::bDescriptorType

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

uint8_t USB_MIDI_StdDescriptor_AudioInterface_AS_t::bLength

Size of the descriptor, in bytes.

uint16_t USB_MIDI_StdDescriptor_AudioInterface_AS_t::wTotalLength

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


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