embassy-usb

Crates

git

Versions

default

Flavors

Module descriptor

Source
Expand description

Utilities for writing USB descriptors.

Modules§

capability_type
Standard capability descriptor types
descriptor_type
Standard descriptor types
lang_id
String descriptor language IDs.

Structs§

BosWriter
A writer for Binary Object Store descriptor.

Enums§

SynchronizationType
USB endpoint synchronization type. The values of this enum can be directly cast into u8 to get the bmAttributes synchronization type bits. Values other than NoSynchronization are only allowed on isochronous endpoints.
UsageType
USB endpoint usage type. The values of this enum can be directly cast into u8 to get the bmAttributes usage type bits. Values other than DataEndpoint are only allowed on isochronous endpoints.