embassy-usb-host

Crates

git

Versions

default

Flavors

Crate embassy_usb_host

Crate embassy_usb_host 

Source
Expand description

§embassy-usb-host

Async USB host stack for embedded devices.

This crate provides USB host enumeration, descriptor parsing, and class driver support on top of embassy-usb-driver hardware traits.

Re-exports§

pub use crate::handler::BusRoute;

Modules§

class
USB host class drivers.
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.