daisy::MidiUsbTransport::Config¶
#include <usb_midi.h>
Public Types¶
Name | |
---|---|
enum | Periph |
Public Functions¶
Name | |
---|---|
Config() |
Public Attributes¶
Name | |
---|---|
Periph | periph |
uint8_t | tx_retry_count |
Public Types Documentation¶
enum Periph¶
Enumerator | Value | Description |
---|---|---|
INTERNAL | 0 | |
EXTERNAL |
Public Functions Documentation¶
function Config¶
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.
Updated on 2024-01-03 at 19:41:01 +0000