embassy-usb

Crates

git

Versions

default

Flavors

Skip to main content

Module host

Module host 

Source
Expand description

USB host support. Async USB host stack.

This module provides USB host enumeration, descriptor parsing, and class driver support on top of the embassy_usb_driver::host hardware traits.

Re-exports§

pub use crate::host::handler::BusRoute;

Modules§

control
Standard USB control request builders and the ControlPipeExt trait.
descriptor
USB descriptor parsers.
handler
USB host device enumeration helpers.

Structs§

BusController
Bus-level controller for a single root USB controller.
BusHandle
Shareable handle for pipe allocation and device enumeration.
BusState
Shared bus-wide state used by a BusHandle.
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).

Enums§

EnumerationError
USB host enumeration error.
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).

Functions§

bus
Split a UsbHostController into a bus controller / bus handle pair.