embassy-usb-host

Crates

git

Versions

default

Flavors

Module descriptor

Module descriptor 

Source
Expand description

USB descriptor parsers.

Modules§

descriptor_type
Standard descriptor type constants.

Structs§

ConfigurationDescriptor
USB Configuration Descriptor header with a reference to the sub-descriptor buffer.
DeviceDescriptor
USB Device Descriptor (18 bytes).
DeviceDescriptorPartial
First 8 bytes of the DeviceDescriptor, used to read max_packet_size0 before SET_ADDRESS.
EndpointDescriptor
USB Endpoint Descriptor (7 bytes).
EndpointIterator
Iterates over the endpoint descriptors of an interface.
InterfaceDescriptor
USB Interface Descriptor with a reference to the trailing sub-descriptor buffer.
InterfaceIterator
Iterates over the InterfaceDescriptors of a configuration.
RawDescriptorIterator
Iterates over raw descriptors, yielding (byte_offset, &[u8]).

Enums§

DescriptorError

Traits§

USBDescriptor
Trait for fixed-size USB descriptors that can be parsed from a byte slice.

Type Aliases§

StringIndex