LUFA Library  120730
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
USB_ClassInfo_MIDI_Device_t Struct Reference

MIDI Class Device Mode Configuration and State Structure. More...

#include <MIDIClassDevice.h>

Data Fields

struct {
   uint8_t   StreamingInterfaceNumber
   USB_Endpoint_Table_t   DataINEndpoint
   USB_Endpoint_Table_t   DataOUTEndpoint
Config
struct {
   uint8_t   RESERVED
State

Detailed Description

Class state structure. An instance of this structure should be made for each MIDI interface within the user application, and passed to each of the MIDI class driver functions as the MIDIInterfaceInfo parameter. This stores each MIDI interface's configuration and state information.

Field Documentation

struct { ... } USB_ClassInfo_MIDI_Device_t::Config

Config data for the USB class interface within the device. All elements in this section must be set or the interface will fail to enumerate and operate correctly.

USB_Endpoint_Table_t USB_ClassInfo_MIDI_Device_t::DataINEndpoint

Data IN endpoint configuration table.

USB_Endpoint_Table_t USB_ClassInfo_MIDI_Device_t::DataOUTEndpoint

Data OUT endpoint configuration table.

uint8_t USB_ClassInfo_MIDI_Device_t::RESERVED
struct { ... } USB_ClassInfo_MIDI_Device_t::State

State data for the USB class interface within the device. All elements in this section are reset to their defaults when the interface is enumerated.

uint8_t USB_ClassInfo_MIDI_Device_t::StreamingInterfaceNumber

Index of the Audio Streaming interface within the device this structure controls.


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