| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
MIDI_EventPacket_t Struct Reference
Common Class Definitions

MIDI Class Driver Event Packet. More...

`#include <MIDIClassCommon.h>`

## Data Fields
uint8_t | Data1
uint8_t | Data2
uint8_t | Data3
uint8_t | Event

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

uint8_t MIDI_EventPacket_t::Data1

First byte of data in the MIDI event.

uint8_t MIDI_EventPacket_t::Data2

Second byte of data in the MIDI event.

uint8_t MIDI_EventPacket_t::Data3

Third byte of data in the MIDI event.

uint8_t MIDI_EventPacket_t::Event

MIDI event type, constructed with the MIDI_EVENT() macro.

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

- Drivers/USB/Class/Common/MIDIClassCommon.h