LUFA Library  120219
MIDI_EventPacket_t Struct Reference

MIDI Class Driver Event Packet. More...

#include <MIDIClassCommon.h>

Data Fields

unsigned Command: 4
unsigned CableNumber: 4
uint8_t Data1
uint8_t Data2
uint8_t Data3

Detailed Description

Type define for a USB MIDI event packet, used to encapsulate sent and received MIDI messages from a USB MIDI interface.

Note:
Regardless of CPU architecture, these values should be stored as little endian.

Field Documentation

Virtual cable number of the event being sent or received in the given MIDI interface.

Upper nibble of the MIDI command being sent or received in the event packet.

First byte of data in the MIDI event.

Second byte of data in the MIDI event.

Third byte of data in the MIDI event.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines