Expand description
USB device state machine and builder.
Create a UsbDevice via UsbDeviceBuilder, then call
poll frequently (every ≤ 10 ms) from the main loop or
an interrupt handler.
Structs§
- Device
Info - Static device metadata. Passed to
UsbDeviceBuildervia the fluent API. - UsbDevice
- USB composite device.
- UsbDevice
Builder - Builder for
UsbDevice.
Enums§
- Device
State - High-level USB device state.
Constants§
- CONFIGURATION_
NONE - The bConfiguration value when not configured.
- CONFIGURATION_
VALUE - The bConfiguration value for the single configuration we expose.
- DEFAULT_
ALTERNATE_ SETTING - Default alternate setting.