54 static uint32_t
read(uint8_t* buf, uint32_t max_len);
76 static uint32_t
write(
const uint8_t* data, uint32_t len);
USB MIDI device port (static class)
static bool connected()
Check if USB MIDI interface is mounted by host.
static bool send(const sbl::midi::MidiEvent &event)
Send a MidiEvent over USB MIDI (TX)
static uint32_t read(uint8_t *buf, uint32_t max_len)
Read decoded MIDI bytes from USB (RX)
static uint32_t write(const uint8_t *data, uint32_t len)
Write raw MIDI bytes to USB MIDI (TX)