usbd_mass_storage 0.1.0

usb-device implementation that provides a USB mass storage class device
Documentation
//! USB interface protocol
use packing::Packed;

/// This specifies the protocol of the USB interface
///
/// Section 3 [USB Mass Storage Class Overview](https://www.usb.org/document-library/mass-storage-class-specification-overview-14)
#[derive(Clone, Copy, Eq, PartialEq, Debug, Packed)]
pub enum InterfaceProtocol {
    /// USB Mass Storage Class Control/Bulk/Interrupt (CBI) Transport (with command completion interrupt)
    CbiWithCCInterrupt = 0x00,
    /// USB Mass Storage Class Control/Bulk/Interrupt (CBI) Transport (with no command completion interrupt)
    CbiNoCCInterrupt = 0x01,
    /// USB Mass Storage Class Bulk-Only (BBB) Transport
    BulkOnlyTransport= 0x50,
    /// Allocated by USB-IF for UAS. UAS is defined outside of USB
    Uas = 0x62,
    /// Specific to device vendor. De facto use
    VendorSpecific= 0xFF,
}