LUFA Library  120730
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
MIDIClassCommon.h File Reference

Common definitions and declarations for the library USB MIDI Class driver. More...

Data Structures

struct  USB_MIDI_Descriptor_AudioInterface_AS_t
 MIDI class-specific Streaming Interface Descriptor (LUFA naming conventions). More...
struct  USB_MIDI_StdDescriptor_AudioInterface_AS_t
 MIDI class-specific Streaming Interface Descriptor (USB-IF naming conventions). More...
struct  USB_MIDI_Descriptor_InputJack_t
 MIDI class-specific Input Jack Descriptor (LUFA naming conventions). More...
struct  USB_MIDI_StdDescriptor_InputJack_t
 MIDI class-specific Input Jack Descriptor (USB-IF naming conventions). More...
struct  USB_MIDI_Descriptor_OutputJack_t
 MIDI class-specific Output Jack Descriptor (LUFA naming conventions). More...
struct  USB_MIDI_StdDescriptor_OutputJack_t
 MIDI class-specific Output Jack Descriptor (USB-IF naming conventions). More...
struct  USB_MIDI_Descriptor_Jack_Endpoint_t
 Audio class-specific Jack Endpoint Descriptor (LUFA naming conventions). More...
struct  USB_MIDI_StdDescriptor_Jack_Endpoint_t
 Audio class-specific Jack Endpoint Descriptor (USB-IF naming conventions). More...
struct  MIDI_EventPacket_t
 MIDI Class Driver Event Packet. More...

Macros

#define MIDI_STANDARD_VELOCITY   64
#define MIDI_CHANNEL(channel)   ((channel) - 1)
#define MIDI_EVENT(virtualcable, command)   ((virtualcable << 4) | (command >> 4))
MIDI Command Values
#define MIDI_COMMAND_NOTE_ON   0x90
#define MIDI_COMMAND_NOTE_OFF   0x80

Enumerations

enum  MIDI_JackTypes_t {
  MIDI_JACKTYPE_Embedded = 0x01,
  MIDI_JACKTYPE_External = 0x02
}

Detailed Description

Common definitions and declarations for the library USB MIDI Class driver.

Note
This file should not be included directly. It is automatically included as needed by the USB module driver dispatch header located in LUFA/Drivers/USB.h.