Skip to content

Struct daisy::MidiUsbTransport::Config

ClassList > daisy > MidiUsbTransport > Config

Public Types

Type Name
enum Periph

Public Attributes

Type Name
Periph periph
uint8_t tx_retry_count

Public Functions

Type Name
Config ()

Public Types Documentation

enum Periph

enum daisy::MidiUsbTransport::Config::Periph {
    INTERNAL = 0,
    EXTERNAL,
    HOST
};

Public Attributes Documentation

variable periph

Periph daisy::MidiUsbTransport::Config::periph;

variable tx_retry_count

uint8_t daisy::MidiUsbTransport::Config::tx_retry_count;

When sending MIDI messages immediately back-to-back in user code, sometimes the USB CDC driver is still "busy".

This option configures the number of times to retry a Tx after delaying for 100 microseconds (default = 3 retries).

If you set this to zero, Tx will not retry so the attempt will block for slightly less time, but transmit can fail if the Tx state is busy.


Public Functions Documentation

function Config

inline daisy::MidiUsbTransport::Config::Config () 


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