#include <MIDI_Interfaces/USBMIDI/USBMIDI_ESP32.hpp>
Definition at line 9 of file USBMIDI_ESP32.hpp.
Public Types | |
using | MIDIUSBPacket_t = AH::Array<uint8_t, 4> |
USB MIDI packages are 4 bytes. | |
Public Member Functions | |
void | begin () |
Called once upon initialization. | |
MIDIUSBPacket_t | read () |
Read a single packet. Return a packet of all zeros if there is no packet. | |
void | write (MIDIUSBPacket_t p) |
Write a single packet to the output buffer. | |
void | sendNow () |
Transmit the output buffer immediately (not implemented). | |
bool | preferImmediateSend () |
No explicit call to sendNow is required. | |
Public Attributes | |
USBMIDI | backend |
The actual low-level USB MIDI backend provided by the core libraries. | |
using MIDIUSBPacket_t = AH::Array<uint8_t, 4> |
USB MIDI packages are 4 bytes.
Definition at line 11 of file USBMIDI_ESP32.hpp.
|
inline |
Called once upon initialization.
Definition at line 13 of file USBMIDI_ESP32.hpp.
|
inline |
Read a single packet. Return a packet of all zeros if there is no packet.
Definition at line 18 of file USBMIDI_ESP32.hpp.
|
inline |
Write a single packet to the output buffer.
Definition at line 24 of file USBMIDI_ESP32.hpp.
|
inline |
Transmit the output buffer immediately (not implemented).
Definition at line 29 of file USBMIDI_ESP32.hpp.
|
inline |
No explicit call to sendNow is required.
Definition at line 31 of file USBMIDI_ESP32.hpp.
USBMIDI backend |
The actual low-level USB MIDI backend provided by the core libraries.
Definition at line 33 of file USBMIDI_ESP32.hpp.