Crate usb_host

Source
Expand description

This crate defines a set of traits for use on the host side of the USB.

The USBHost defines the Host Controller Interface that can be used by the Driver interface.

The Driver interface defines the set of functions necessary to use devices plugged into the host.

Re-exports§

pub use descriptor::*;
pub use setup::*;

Modules§

descriptor
A collection of structures defining descriptors in the USB.
setup
A collection of structures for use in setting up devices during enumeration.

Enums§

Direction
The direction of the transfer with the USB device.
DriverError
Types of errors that can be returned from a Driver.
TransferError
Errors that can be generated when attempting to do a USB transfer.
TransferType
The type of transfer to use when talking to USB devices.

Traits§

Driver
Trait for drivers on the USB host.
Endpoint
Endpoint defines the USB endpoint for various transfers.
USBHost
Trait for host controller interface.