embassy-usb

Crates

git

Versions

default

Flavors

Skip to main content

Module host

Module host 

Source
Expand description

USB MIDI 1.0 host class driver.

USB MIDI 1.0 transports one or more virtual MIDI cables over bulk endpoints. Each transfer consists of four-byte USB-MIDI event packets.

Modules§

raw
Advanced descriptor and endpoint-level USB-MIDI APIs.

Structs§

In
Marker for device-to-host ports.
MidiHost
Friendly host driver for one USB MIDI 1.0 streaming interface.
MidiPort
A logical MIDI port discovered from a USB cable association; D is In or Out.
Out
Marker for host-to-device ports.
ReceivedMidiPacket
One received USB-MIDI event packet and its logical input port.
ReceivedMidiPackets
Iterator over the logical MIDI packets in one received USB transfer.
Receiver
USB-MIDI device-to-host packet receiver.
Sender
USB-MIDI host-to-device packet sender.

Enums§

MidiError
USB MIDI host error.

Type Aliases§

MidiInputPort
A logical device-to-host MIDI port discovered from a USB cable association.
MidiOutputPort
A logical host-to-device MIDI port discovered from a USB cable association.