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
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.