Crate usbd_mass_storage

Source
Expand description

§Glossary

TermDescriptionMore Info
ZLPZero length packet. Used to terminate the current data transfer when the final packet is full and the total data length is less than the header specifiedSection 5.5.3 USB 2.0 Bus Spec
CBWCommand block wrapper. Header that contains information about the data that is expected to be sent/received nextSection 5.1 USB Bulk Only Transport Spec
CSWCommand status wrapper. Status sent after data transfer to indicate success/failure and confirm length of data sentSection 5.2 USB Bulk Only Transport Spec
Data ResidueData residue (bytes) is the difference in the length requested in the CBW and the actual amount of data sent/receivedSection 5.2 USB Bulk Only Transport Spec

Structs§

MscClass
USB Mass Storage Class Device

Enums§

InterfaceProtocol
This specifies the protocol of the USB interface
InterfaceSubclass
This specifies the subclass of the USB interface
UsbError
A USB stack error.

Constants§

USB_CLASS_MSC
This should be used as device_class when building UsbDevice

Type Aliases§

Result
Result for USB operations.