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¶
Public Attributes Documentation¶
variable periph¶
variable 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¶
The documentation for this class was generated from the following file external-docs/libDaisy/src/hid/usb_midi.h