Control Surface stm32
MIDI Control Surface library for Arduino
USBMIDI_RP2040.hpp
Go to the documentation of this file.
2#include <Settings/NamespaceSettings.hpp>
3
5
7
11 void write(MIDIUSBPacket_t data) { backend.write(bytes_to_u32(data)); }
12 void sendNow() { backend.send_now(); }
13 bool preferImmediateSend() { return false; } // TODO
14
16};
17
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
AH::Array< uint8_t, 4 > u32_to_bytes(uint32_t u)
Definition: USBMIDI.hpp:9
uint32_t bytes_to_u32(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3)
Definition: USBMIDI.hpp:18
MIDIUSBPacket_t read()
void write(MIDIUSBPacket_t data)