Expand description
USB device stack.
Modules§
- msos
- Microsoft OS Descriptors
Structs§
- Builder
UsbDevicebuilder.- Config
- Configuration used when creating
UsbDevice. - Endpoint
Options - Endpoint settings chosen by the user rather than by the class.
- Function
Builder - Function builder.
- Handler
Full - Error returned by fallible handler registration.
- Interface
AltBuilder - Interface alternate setting builder.
- Interface
Builder - Interface builder.
- UsbBuffer
Report - A report of the used size of the runtime allocated buffers
- UsbDevice
- Main struct for the USB device stack.
Enums§
- Remote
Wakeup Error - Error returned by
UsbDevice::remote_wakeup. - UsbDevice
Speed - The fastest speed the device configuration supports.
- UsbDevice
State - The global state of the USB device.
- UsbVersion
- The USB specification release (
bcdUSB) reported in the device descriptor.
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.
- Interface
Handler - A
Handlerthat owns one or more USB interfaces.