Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
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 11 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

template<size_t MaxPacketSize = 512>
using MIDIUSBPacket_t = AH::Array<uint8_t, 4>

Definition at line 16 of file USBHostMIDI_Interface.hpp.

Constructor & Destructor Documentation

◆ USBHostMIDIBackend()

template<size_t MaxPacketSize = 512>
USBHostMIDIBackend ( USBHost & host)
inline

Definition at line 13 of file USBHostMIDI_Interface.hpp.

Member Function Documentation

◆ read()

template<size_t MaxPacketSize = 512>
MIDIUSBPacket_t read ( )
inline

Definition at line 17 of file USBHostMIDI_Interface.hpp.

◆ write()

template<size_t MaxPacketSize = 512>
void write ( MIDIUSBPacket_t data)
inline

Definition at line 18 of file USBHostMIDI_Interface.hpp.

◆ sendNow()

template<size_t MaxPacketSize = 512>
void sendNow ( )
inline

Definition at line 19 of file USBHostMIDI_Interface.hpp.

◆ preferImmediateSend()

template<size_t MaxPacketSize = 512>
bool preferImmediateSend ( )
inline

Definition at line 20 of file USBHostMIDI_Interface.hpp.

Member Data Documentation

◆ backend

template<size_t MaxPacketSize = 512>
TeensyHostMIDI<MaxPacketSize> backend

Definition at line 23 of file USBHostMIDI_Interface.hpp.


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