Modules | |
Mass Storage Class Device Mode Driver | |
Mass Storage Class Host Mode Driver | |
#define | REQ_MassStorageReset 0xFF |
#define | REQ_GetMaxLUN 0xFE |
#define | MS_CBW_SIGNATURE 0x43425355UL |
#define | MS_CSW_SIGNATURE 0x53425355UL |
#define | MS_COMMAND_DIR_DATA_OUT (0 << 7) |
#define | MS_COMMAND_DIR_DATA_IN (1 << 7) |
enum | MassStorage_CommandStatusCodes_t { SCSI_Command_Pass = 0, SCSI_Command_Fail = 1, SCSI_Phase_Error = 2 } |
#define MS_CBW_SIGNATURE 0x43425355UL |
Magic signature for a Command Block Wrapper used in the Mass Storage Bulk-Only transport protocol.
#define MS_COMMAND_DIR_DATA_IN (1 << 7) |
Mask for a Command Block Wrapper's flags attribute to specify a command with data sent from device-to-host.
#define MS_COMMAND_DIR_DATA_OUT (0 << 7) |
Mask for a Command Block Wrapper's flags attribute to specify a command with data sent from host-to-device.
#define MS_CSW_SIGNATURE 0x53425355UL |
Magic signature for a Command Status Wrapper used in the Mass Storage Bulk-Only transport protocol.
#define REQ_GetMaxLUN 0xFE |
Mass Storage Class specific request to retrieve the total number of Logical Units (drives) in the SCSI device.
#define REQ_MassStorageReset 0xFF |
Mass Storage Class specific request to reset the Mass Storage interface, ready for the next command.
Enum for the possible command status wrapper return status codes.