Control Surface stm32
MIDI Control Surface library for Arduino
Public Types | Public Member Functions | Public Attributes | List of all members
USBHostMIDIBackend< MaxPacketSize > Class Template Reference

#include <MIDI_Interfaces/USBHostMIDI_Interface.hpp>

Detailed Description

template<size_t MaxPacketSize = 512>
class USBHostMIDIBackend< MaxPacketSize >

MIDI over USB backend for the Teensy USBHost_t36 library.

Definition at line 13 of file USBHostMIDI_Interface.hpp.

+ Collaboration diagram for USBHostMIDIBackend< MaxPacketSize >:

Public Types

using MIDIUSBPacket_t = AH::Array< uint8_t, 4 >
 

Public Member Functions

 USBHostMIDIBackend (USBHost &host)
 
MIDIUSBPacket_t read ()
 
void write (MIDIUSBPacket_t data)
 
void sendNow ()
 
bool preferImmediateSend ()
 

Public Attributes

TeensyHostMIDI< MaxPacketSize > backend
 

Member Typedef Documentation

◆ MIDIUSBPacket_t

using MIDIUSBPacket_t = AH::Array<uint8_t, 4>

Definition at line 18 of file USBHostMIDI_Interface.hpp.

Constructor & Destructor Documentation

◆ USBHostMIDIBackend()

USBHostMIDIBackend ( USBHost &  host)
inline

Definition at line 15 of file USBHostMIDI_Interface.hpp.

Member Function Documentation

◆ read()

MIDIUSBPacket_t read ( )
inline

Definition at line 19 of file USBHostMIDI_Interface.hpp.

◆ write()

void write ( MIDIUSBPacket_t  data)
inline

Definition at line 20 of file USBHostMIDI_Interface.hpp.

◆ sendNow()

void sendNow ( )
inline

Definition at line 21 of file USBHostMIDI_Interface.hpp.

◆ preferImmediateSend()

bool preferImmediateSend ( )
inline

Definition at line 22 of file USBHostMIDI_Interface.hpp.

Member Data Documentation

◆ backend

TeensyHostMIDI<MaxPacketSize> backend

Definition at line 25 of file USBHostMIDI_Interface.hpp.


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