Go to the source code of this file.
Defines | |
Global Class, SubClass & Protocol constants for Mass Storage | |
| #define | MS_CLASS 0x08 |
| Mass Storage Class. | |
| #define | MS_SUB_CLASS1 0x01 |
| Reduced Block Commands (RBC) T10, project 1240-D. | |
| #define | MS_SUB_CLASS2 0x02 |
| SFF-8020i or MMC-2 (ATAPI) command blocks. | |
| #define | MS_SUB_CLASS3 0x03 |
| Typically, a tape device uses QIC-157 command blocks. | |
| #define | MS_SUB_CLASS4 0x04 |
| (UFI) Typically, a floppy disk drive (FDD) device | |
| #define | MS_SUB_CLASS5 0x05 |
| SFF-8070i command blocks. | |
| #define | MS_SUB_CLASS6 0x06 |
| SCSI transparent Command Set. | |
| #define | MS_PRO_CTRLBULKINT_COMP 0x00 |
| #define | MS_PRO_CTRLBULKINT_NOCOMP 0x01 |
| #define | MS_PROTOCOL_BULK_ONLY 0x50 |
| Bulk-Only Transport. | |
| #define | MS_PROTOCOL MS_PROTOCOL_BULK_ONLY |
Specific setup requests from Mass Storage | |
| #define | SETUP_MASS_STORAGE_GET_MAX_LUN 0xFE |
| #define | SETUP_MASS_STORAGE_RESET 0xFF |
Definition in file usb_commun_ms.h.
| #define MS_CLASS 0x08 |
| #define MS_SUB_CLASS1 0x01 |
| #define MS_SUB_CLASS2 0x02 |
| #define MS_SUB_CLASS3 0x03 |
Typically, a tape device uses QIC-157 command blocks.
Definition at line 60 of file usb_commun_ms.h.
| #define MS_SUB_CLASS4 0x04 |
| #define MS_SUB_CLASS5 0x05 |
| #define MS_SUB_CLASS6 0x06 |
| #define MS_PRO_CTRLBULKINT_COMP 0x00 |
Definition at line 68 of file usb_commun_ms.h.
| #define MS_PRO_CTRLBULKINT_NOCOMP 0x01 |
Definition at line 69 of file usb_commun_ms.h.
| #define MS_PROTOCOL_BULK_ONLY 0x50 |
| #define MS_PROTOCOL MS_PROTOCOL_BULK_ONLY |
Definition at line 71 of file usb_commun_ms.h.
| #define SETUP_MASS_STORAGE_GET_MAX_LUN 0xFE |
| #define SETUP_MASS_STORAGE_RESET 0xFF |
1.5.3