#include <MassStorage.h>
Data Fields | |
struct { | |
uint8_t InterfaceNumber | |
uint8_t DataINEndpointNumber | |
uint16_t DataINEndpointSize | |
uint8_t DataOUTEndpointNumber | |
uint16_t DataOUTEndpointSize | |
uint8_t TotalLUNs | |
} | Config |
struct { | |
MS_CommandBlockWrapper_t CommandBlock | |
MS_CommandStatusWrapper_t CommandStatus | |
bool IsMassStoreReset | |
} | State |
Mass Storage class command block structure, stores the received SCSI command from the host which is to be processed
Mass Storage class command status structure, set elements to indicate the issued command's success or failure to the host
struct { ... } USB_ClassInfo_MS_Device_t::Config |
Config data for the USB class interface within the device. All elements in this section must be set or the interface will fail to enumerate and operate correctly.
Endpoint number of the Mass Storage interface's IN data endpoint
Size in bytes of the Mass Storage interface's IN data endpoint
Endpoint number of the Mass Storage interface's OUT data endpoint
Size in bytes of the Mass Storage interface's OUT data endpoint
Interface number of the Mass Storage interface within the device
Flag indicating that the host has requested that the Mass Storage interface be reset and that all current Mass Storage operations should immediately abort
struct { ... } USB_ClassInfo_MS_Device_t::State |
State data for the USB class interface within the device. All elements in this section are reset to their defaults when the interface is enumerated.
Total number of logical drives in the Mass Storage interface