embassy-usb-driver

Crates

git

Versions

default

Flavors

Module host

Module host 

Source
Expand description

USB host driver traits and data types.

Modules§

channel
Type-level channel markers for endpoint type and direction.

Structs§

RequestType
RequestType bitfields for the setup packet.
SetupPacket
USB Control Setup Packet
TimeoutConfig
Specify the timeout of a channel

Enums§

ChannelError
Errors returned by [ChannelOut::write] and [ChannelIn::read]
DeviceEvent
Device has been attached/detached
HostError
Indicates type of error of Host interface

Traits§

UsbChannel
Virtual USB Channels
UsbHostDriver
Async USB Host Driver trait. To be implemented by the HAL.