embassy-usb-driver

Crates

git

Versions

default

Flavors

Module host

Module host 

Source
Expand description

USB host driver traits and data types.

Modules§

pipe
Type-level pipe markers for endpoint type and direction.

Structs§

SplitInfo
Per-pipe information necessary to encode a split-transaction token (USB 2.0 §11.14) or a legacy full-speed PRE packet (USB 1.1 §11.8.6).
TimeoutConfig
Timeouts applied to a control pipe’s NAK-retry behaviour.

Enums§

DeviceEvent
Device has been attached/detached
HostError
Indicates type of error of Host interface
PipeError
Errors returned by UsbPipe operations.
SplitSpeed
Speed of a low- or full-speed device reached through split transactions (USB 2.0 §11.14) or a PRE prefix (USB 1.1 §11.8.6).

Traits§

UsbHostDriver
Async USB Host Driver trait.
UsbPipe
USB Pipes