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
ControlPipeExttrait. - 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. - Split
Info - Per-pipe information necessary to encode a split-transaction token
(USB 2.0 §11.14) or a legacy full-speed
PREpacket (USB 1.1 §11.8.6).
Enums§
- Enumeration
Error - USB host enumeration error.
- Split
Speed - Speed of a low- or full-speed device reached through split transactions
(USB 2.0 §11.14) or a
PREprefix (USB 1.1 §11.8.6).
Functions§
- bus
- Split a
UsbHostControllerinto a bus controller / bus handle pair.