Go to the source code of this file.
|
struct | PACKED |
| USB_CDC_GET/SET_LINE_CODING request-specific data. More...
|
|
struct | PACKED |
| USB_CDC_GET/SET_LINE_CODING request-specific data. More...
|
|
§ USBREQ_GET_MAX_LUN
#define USBREQ_GET_MAX_LUN 0xfe |
§ USBREQ_BULK_ONLY_RESET
#define USBREQ_BULK_ONLY_RESET 0xff |
§ CBW_SIGNATURE
#define CBW_SIGNATURE 0x43425355 |
§ CSW_SIGNATURE
#define CSW_SIGNATURE 0x53425355 |
§ CBWFLAGS_DIR_M
#define CBWFLAGS_DIR_M 0x80 |
§ CBWFLAGS_DIR_IN
#define CBWFLAGS_DIR_IN 0x80 |
§ CBWFLAGS_DIR_OUT
#define CBWFLAGS_DIR_OUT 0x00 |
§ CSWSTATUS_CMD_SUCCESS
#define CSWSTATUS_CMD_SUCCESS 0 |
§ CSWSTATUS_CMD_FAILED
#define CSWSTATUS_CMD_FAILED 1 |
§ CSWSTATUS_PHASE_ERROR
#define CSWSTATUS_PHASE_ERROR 2 |
§ SCSI_CMD_STATUS_PASS
#define SCSI_CMD_STATUS_PASS 0x00 |
§ SCSI_CMD_STATUS_FAIL
#define SCSI_CMD_STATUS_FAIL 0x01 |
§ SCSI_TEST_UNIT_READY
#define SCSI_TEST_UNIT_READY 0x00 |
§ SCSI_REQUEST_SENSE
#define SCSI_REQUEST_SENSE 0x03 |
§ SCSI_INQUIRY_CMD
#define SCSI_INQUIRY_CMD 0x12 |
§ SCSI_MODE_SENSE_6
#define SCSI_MODE_SENSE_6 0x1a |
§ SCSI_START_STOP_UNIT
#define SCSI_START_STOP_UNIT 0x1b |
§ SCSI_MEDIUM_REMOVAL
#define SCSI_MEDIUM_REMOVAL 0x1e |
§ SCSI_READ_CAPACITIES
#define SCSI_READ_CAPACITIES 0x23 |
§ SCSI_READ_CAPACITY
#define SCSI_READ_CAPACITY 0x25 |
§ SCSI_READ_10
#define SCSI_READ_10 0x28 |
§ SCSI_WRITE_10
#define SCSI_WRITE_10 0x2a |
§ SCSI_INQUIRY_DATA_SZ
#define SCSI_INQUIRY_DATA_SZ 36 |
§ SCSI_INQ_PQ_M
#define SCSI_INQ_PQ_M 0xe0 |
§ SCSI_INQ_PQ_CNCT
#define SCSI_INQ_PQ_CNCT 0x00 |
§ SCSI_INQ_PQ_DISC
#define SCSI_INQ_PQ_DISC 0x20 |
§ SCSI_INQ_PDT_M
#define SCSI_INQ_PDT_M 0x1f |
§ SCSI_INQ_PDT_SBC
#define SCSI_INQ_PDT_SBC 0x00 |
§ SCSI_INQ_RMB
#define SCSI_INQ_RMB 0x80 |
§ SCSIIsRemovable
#define SCSIIsRemovable |
( |
|
pData | ) |
(((uint8_t *)pData)[1] & SCSI_INQ_RMB) |
§ SCSI_READ_CAPACITY_SZ
#define SCSI_READ_CAPACITY_SZ 0x08 |
§ SCSI_MS_DBD
#define SCSI_MS_DBD 0x00000800 |
§ SCSI_MS_PC_VENDOR
#define SCSI_MS_PC_VENDOR 0x00000000 |
§ SCSI_MS_PC_DISCO
#define SCSI_MS_PC_DISCO 0x00020000 |
§ SCSI_MS_PC_CONTROL
#define SCSI_MS_PC_CONTROL 0x000a0000 |
§ SCSI_MS_PC_LUN
#define SCSI_MS_PC_LUN 0x00180000 |
§ SCSI_MS_PC_PORT
#define SCSI_MS_PC_PORT 0x00190000 |
§ SCSI_MS_PC_POWER
#define SCSI_MS_PC_POWER 0x001a0000 |
§ SCSI_MS_PC_INFORM
#define SCSI_MS_PC_INFORM 0x001c0000 |
§ SCSI_MS_PC_ALL
#define SCSI_MS_PC_ALL 0x003f0000 |
§ SCSI_MS_PC_CURRENT
#define SCSI_MS_PC_CURRENT 0x00000000 |
§ SCSI_MS_PC_CHANGEABLE
#define SCSI_MS_PC_CHANGEABLE 0x00400000 |
§ SCSI_MS_PC_DEFAULT
#define SCSI_MS_PC_DEFAULT 0x00800000 |
§ SCSI_MS_PC_SAVED
#define SCSI_MS_PC_SAVED 0x00c00000 |
§ SCSI_REQUEST_SENSE_SZ
#define SCSI_REQUEST_SENSE_SZ 18 |
§ SCSI_RS_SKEY
§ SCSI_RS_SKEY_AD_SKEY
#define SCSI_RS_SKEY_AD_SKEY 12 |
§ SCSI_RS_VALID
#define SCSI_RS_VALID 0x80 |
§ SCSI_RS_CUR_ERRORS
#define SCSI_RS_CUR_ERRORS 0x70 |
§ SCSI_RS_DEFER_ERRORS
#define SCSI_RS_DEFER_ERRORS 0x71 |
§ SCSI_RS_KEY_M
#define SCSI_RS_KEY_M 0x0f |
§ SCSI_RS_KEY_NO_SENSE
#define SCSI_RS_KEY_NO_SENSE 0x00 |
§ SCSI_RS_KEY_RECOVRD_ERR
#define SCSI_RS_KEY_RECOVRD_ERR 0x01 |
§ SCSI_RS_KEY_NOT_READY
#define SCSI_RS_KEY_NOT_READY 0x02 |
§ SCSI_RS_KEY_MEDIUM_ERR
#define SCSI_RS_KEY_MEDIUM_ERR 0x03 |
§ SCSI_RS_KEY_HW_ERR
#define SCSI_RS_KEY_HW_ERR 0x04 |
§ SCSI_RS_KEY_ILGL_RQST
#define SCSI_RS_KEY_ILGL_RQST 0x05 |
§ SCSI_RS_KEY_UNIT_ATTN
#define SCSI_RS_KEY_UNIT_ATTN 0x06 |
§ SCSI_RS_KEY_DATA_PROT
#define SCSI_RS_KEY_DATA_PROT 0x07 |
§ SCSI_RS_KEY_BLANK_CHK
#define SCSI_RS_KEY_BLANK_CHK 0x08 |
§ SCSI_RS_KEY_ABORT
#define SCSI_RS_KEY_ABORT 0x0b |
§ SCSI_RS_ILI
§ SCSI_RS_EOM
§ SCSI_RS_FILEMARK
#define SCSI_RS_FILEMARK 0x80 |
§ SCSI_RS_MED_NOT_PRSNT
#define SCSI_RS_MED_NOT_PRSNT 0x003a |
§ SCSI_RS_MED_NOTRDY2RDY
#define SCSI_RS_MED_NOTRDY2RDY 0x0028 |
§ SCSI_RS_PV_INVALID
#define SCSI_RS_PV_INVALID 0x0226 |
§ SCSI_RS_KEY_NOTPRSNT
#define SCSI_RS_KEY_NOTPRSNT 0x3A |
§ SCSI_PE_MEDRMV_M
#define SCSI_PE_MEDRMV_M 0x03 |
§ SCSI_PE_MEDRMV_ALLOW
#define SCSI_PE_MEDRMV_ALLOW 0x00 |
§ SCSI_PE_MEDRMV_PREVENT
#define SCSI_PE_MEDRMV_PREVENT 0x01 |
§ SCSI_SS_UNIT_IMMED
#define SCSI_SS_UNIT_IMMED 0x01 |
§ SCSI_SS_UNIT_LUN_M
#define SCSI_SS_UNIT_LUN_M 0xe0 |
§ SCSI_SS_UNIT_START
#define SCSI_SS_UNIT_START 0x01 |
§ SCSI_SS_UNIT_LOEJ
#define SCSI_SS_UNIT_LOEJ 0x02 |
§ SCSI_SS_UNIT_PWR_M
#define SCSI_SS_UNIT_PWR_M 0xf0 |
§ SCSI_SS_UNIT_PWR_ACTIVE
#define SCSI_SS_UNIT_PWR_ACTIVE 0x10 |
§ SCSI_SS_UNIT_PWR_IDLE
#define SCSI_SS_UNIT_PWR_IDLE 0x20 |
§ SCSI_SS_UNIT_PWR_STDBY
#define SCSI_SS_UNIT_PWR_STDBY 0x30 |
§ SCSI_SS_UNIT_PWR_DSLEEP
#define SCSI_SS_UNIT_PWR_DSLEEP 0x50 |