| LUFA Library 140302 |

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

MIDI class-specific Input Jack Descriptor (LUFA naming conventions). More...

`#include <MIDIClassCommon.h>`

## Data Fields
USB_Descriptor_Header_t | Header
uint8_t | JackID
uint8_t | JackStrIndex
uint8_t | JackType
uint8_t | Subtype

## Detailed Description

Type define for an Audio class-specific MIDI IN jack. This gives information to the host on a MIDI input, either a physical input jack, or a logical jack (receiving input data internally, or from the host via an endpoint).

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

USB_Descriptor_Header_t USB_MIDI_Descriptor_InputJack_t::Header

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

uint8_t USB_MIDI_Descriptor_InputJack_t::JackID

ID value of this jack - must be a unique value within the device.

uint8_t USB_MIDI_Descriptor_InputJack_t::JackStrIndex

Index of a string descriptor describing this descriptor within the device.

uint8_t USB_MIDI_Descriptor_InputJack_t::JackType

Type of jack, one of the `JACKTYPE_*` mask values.

uint8_t USB_MIDI_Descriptor_InputJack_t::Subtype

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

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

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