LUFA Library
USB_MIDI_Descriptor_InputJack_t Struct Reference

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

Field Documentation

◆ Header

USB_Descriptor_Header_t USB_MIDI_Descriptor_InputJack_t::Header

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

◆ JackID

uint8_t USB_MIDI_Descriptor_InputJack_t::JackID

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

◆ JackStrIndex

uint8_t USB_MIDI_Descriptor_InputJack_t::JackStrIndex

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

◆ JackType

uint8_t USB_MIDI_Descriptor_InputJack_t::JackType

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

◆ Subtype

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: