Common definitions and declarations for the library USB MIDI Class driver. More...
#include "../../USB.h"
#include "Audio.h"
#include <string.h>
Data Structures | |
struct | USB_MIDI_AudioInterface_AS_t |
MIDI Class Specific Streaming Interface Descriptor. More... | |
struct | USB_MIDI_In_Jack_t |
MIDI Class Specific Input Jack Descriptor. More... | |
struct | USB_MIDI_Out_Jack_t |
MIDI Class Specific Output Jack Descriptor. More... | |
struct | USB_MIDI_Jack_Endpoint_t |
Audio Class Specific Jack Endpoint Descriptor. More... | |
struct | MIDI_EventPacket_t |
MIDI Class Driver Event Packet. More... | |
Defines | |
#define | DSUBTYPE_InputJack 0x02 |
#define | DSUBTYPE_OutputJack 0x03 |
#define | MIDI_JACKTYPE_EMBEDDED 0x01 |
#define | MIDI_JACKTYPE_EXTERNAL 0x02 |
#define | MIDI_COMMAND_NOTE_ON 0x90 |
#define | MIDI_COMMAND_NOTE_OFF 0x80 |
#define | MIDI_STANDARD_VELOCITY 64 |
#define | MIDI_CHANNEL(channel) ((channel) - 1) |
Common definitions and declarations for the library USB MIDI Class driver.