Data Fields

MIDI_EventPacket_t Struct Reference
[Common Class Definitions]

MIDI Class Driver Event Packet. More...

#include <MIDI.h>

Data Fields

unsigned char Command: 4
unsigned char 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.


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: