embassy-usb

Crates

git

Versions

default

Flavors

Skip to main content

Module device

Module device 

Source
Expand description

USB device stack.

Modules§

msos
Microsoft OS Descriptors

Structs§

Builder
UsbDevice builder.
Config
Configuration used when creating UsbDevice.
FunctionBuilder
Function builder.
InterfaceAltBuilder
Interface alternate setting builder.
InterfaceBuilder
Interface builder.
UsbBufferReport
A report of the used size of the runtime allocated buffers
UsbDevice
Main struct for the USB device stack.

Enums§

RemoteWakeupError
Error returned by UsbDevice::remote_wakeup.
UsbDeviceSpeed
The fastest speed the device configuration supports.
UsbDeviceState
The global state of the USB device.
UsbVersion
Allows Configuring the Bcd USB version below 2.1

Constants§

CONFIGURATION_NONE
The bConfiguration value for the not configured state.
CONFIGURATION_VALUE
The bConfiguration value for the single configuration supported by this device.

Traits§

Handler
Handler for device events and control requests.