LUFA Library
USB_MIDI_Descriptor_OutputJack_t Struct Reference

MIDI class-specific Output 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 NumberOfPins
 
uint8_t SourceJackID [1]
 
uint8_t SourcePinID [1]
 
uint8_t Subtype
 

Detailed Description

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

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

◆ Header

USB_Descriptor_Header_t USB_MIDI_Descriptor_OutputJack_t::Header

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

◆ JackID

uint8_t USB_MIDI_Descriptor_OutputJack_t::JackID

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

◆ JackStrIndex

uint8_t USB_MIDI_Descriptor_OutputJack_t::JackStrIndex

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

◆ JackType

uint8_t USB_MIDI_Descriptor_OutputJack_t::JackType

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

◆ NumberOfPins

uint8_t USB_MIDI_Descriptor_OutputJack_t::NumberOfPins

Number of output channels within the jack, either physical or logical.

◆ SourceJackID

uint8_t USB_MIDI_Descriptor_OutputJack_t::SourceJackID[1]

ID of each output pin's source data jack.

◆ SourcePinID

uint8_t USB_MIDI_Descriptor_OutputJack_t::SourcePinID[1]

Pin number in the input jack of each output pin's source data.

◆ Subtype

uint8_t USB_MIDI_Descriptor_OutputJack_t::Subtype

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


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