Skip to content

Class daisy::MidiUsbTransport

ClassList > daisy > MidiUsbTransport

USB Transport for MIDI.

  • #include <usb_midi.h>

Classes

Type Name
struct Config

Public Types

Type Name
typedef void(* MidiRxParseCallback

Public Functions

Type Name
void FlushRx ()
void Init (Config config)
MidiUsbTransport ()
MidiUsbTransport (const MidiUsbTransport & other) = default
bool RxActive ()
void StartRx (MidiRxParseCallback callback, void * context)
void Tx (uint8_t * buffer, size_t size)
MidiUsbTransport & operator= (const MidiUsbTransport & other) = default
~MidiUsbTransport ()

Public Types Documentation

typedef MidiRxParseCallback

typedef void(* daisy::MidiUsbTransport::MidiRxParseCallback) (uint8_t *data, size_t size, void *context);

Public Functions Documentation

function FlushRx

void daisy::MidiUsbTransport::FlushRx () 

function Init

void daisy::MidiUsbTransport::Init (
    Config config
) 

function MidiUsbTransport [½]

inline daisy::MidiUsbTransport::MidiUsbTransport () 

function MidiUsbTransport [2/2]

daisy::MidiUsbTransport::MidiUsbTransport (
    const  MidiUsbTransport & other
) = default

function RxActive

bool daisy::MidiUsbTransport::RxActive () 

function StartRx

void daisy::MidiUsbTransport::StartRx (
    MidiRxParseCallback callback,
    void * context
) 

function Tx

void daisy::MidiUsbTransport::Tx (
    uint8_t * buffer,
    size_t size
) 

function operator=

MidiUsbTransport & daisy::MidiUsbTransport::operator= (
    const  MidiUsbTransport & other
) = default

function ~MidiUsbTransport

inline daisy::MidiUsbTransport::~MidiUsbTransport () 


The documentation for this class was generated from the following file external-docs/libDaisy/src/hid/usb_midi.h