#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | MSCbw |
struct | MSCsw |
Defines | |
#define | MSD_BULK_ONLY_RESET 0xFF |
#define | MSD_GET_MAX_LUN 0xFE |
#define | MSD_SUBCLASS_RBC 0x01 |
#define | MSD_SUBCLASS_SFF_MCC 0x02 |
#define | MSD_SUBCLASS_QIC 0x03 |
#define | MSD_SUBCLASS_UFI 0x04 |
#define | MSD_SUBCLASS_SFF 0x05 |
#define | MSD_SUBCLASS_SCSI 0x06 |
#define | MSD_PROTOCOL_CBI_COMPLETION 0x00 |
#define | MSD_PROTOCOL_CBI 0x01 |
#define | MSD_PROTOCOL_BULK_ONLY 0x50 |
#define | MSD_CBW_SIZE 31 |
#define | MSD_CBW_SIGNATURE 0x43425355 |
#define | MSD_CBW_DEVICE_TO_HOST (1 << 7) |
#define | MSD_CBW_DEVICE_TO_DEVICE (0 << 7) |
#define | MSD_CSW_SIZE 13 |
#define | MSD_CSW_SIGNATURE 0x53425355 |
#define | MSD_CSW_COMMAND_PASSED 0 |
#define | MSD_CSW_COMMAND_FAILED 1 |
#define | MSD_CSW_PHASE_ERROR 2 |
Mass Storage class definitions.
See
Definition in file MSD.h.