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

MIDI class-specific Output Jack Descriptor (USB-IF naming conventions). More...

#include <MIDIClassCommon.h>

Data Fields

uint8_t baSourceID [1]
 
uint8_t baSourcePin [1]
 
uint8_t bDescriptorSubtype
 
uint8_t bDescriptorType
 
uint8_t bJackID
 
uint8_t bJackType
 
uint8_t bLength
 
uint8_t bNrInputPins
 
uint8_t iJack
 

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_Descriptor_OutputJack_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

uint8_t USB_MIDI_StdDescriptor_OutputJack_t::baSourceID[1]

ID of each output pin's source data jack.

uint8_t USB_MIDI_StdDescriptor_OutputJack_t::baSourcePin[1]

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

uint8_t USB_MIDI_StdDescriptor_OutputJack_t::bDescriptorSubtype

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

uint8_t USB_MIDI_StdDescriptor_OutputJack_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_OutputJack_t::bJackID

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

uint8_t USB_MIDI_StdDescriptor_OutputJack_t::bJackType

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

uint8_t USB_MIDI_StdDescriptor_OutputJack_t::bLength

Size of the descriptor, in bytes.

uint8_t USB_MIDI_StdDescriptor_OutputJack_t::bNrInputPins

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

uint8_t USB_MIDI_StdDescriptor_OutputJack_t::iJack

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


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