Macros | Variables
USBD_SCSI_Exported_Defines
Collaboration diagram for USBD_SCSI_Exported_Defines:

Macros

#define ABORTED_COMMAND   11
 
#define ADDRESS_OUT_OF_RANGE   0x21
 
#define BLANK_CHECK   8
 
#define BLKVFY   0x04
 
#define COPY_ABORTED   10
 
#define DATA_PROTECT   7
 
#define HARDWARE_ERROR   4
 
#define ILLEGAL_REQUEST   5
 
#define INVALID_CDB   0x20
 
#define INVALID_FIELD_IN_PARAMETER_LIST   0x26
 
#define INVALID_FIELED_IN_COMMAND   0x24
 
#define MEDIUM_ERROR   3
 
#define MEDIUM_HAVE_CHANGED   0x28
 
#define MEDIUM_NOT_PRESENT   0x3A
 
#define MISCOMPARE   14
 
#define MODE_SENSE10_DATA_LEN   0x08
 
#define MODE_SENSE6_DATA_LEN   0x04
 
#define NO_SENSE   0
 
#define NOT_READY   2
 
#define PARAMETER_LIST_LENGTH_ERROR   0x1A
 
#define READ_CAPACITY10_DATA_LEN   0x08
 
#define READ_FORMAT_CAPACITY_DATA_LEN   0x0C
 
#define RECOVERED_ERROR   1
 
#define REQUEST_SENSE_DATA_LEN   0x12
 
#define SCSI_ALLOW_MEDIUM_REMOVAL   0x1E
 
#define SCSI_FORMAT_UNIT   0x04
 
#define SCSI_INQUIRY   0x12
 
#define SCSI_MODE_SELECT10   0x55
 
#define SCSI_MODE_SELECT6   0x15
 
#define SCSI_MODE_SENSE10   0x5A
 
#define SCSI_MODE_SENSE6   0x1A
 
#define SCSI_READ10   0x28
 
#define SCSI_READ12   0xA8
 
#define SCSI_READ16   0x88
 
#define SCSI_READ6   0x08
 
#define SCSI_READ_CAPACITY10   0x25
 
#define SCSI_READ_CAPACITY16   0x9E
 
#define SCSI_READ_FORMAT_CAPACITIES   0x23
 
#define SCSI_REQUEST_SENSE   0x03
 
#define SCSI_SEND_DIAGNOSTIC   0x1D
 
#define SCSI_START_STOP_UNIT   0x1B
 
#define SCSI_TEST_UNIT_READY   0x00
 
#define SCSI_VERIFY10   0x2F
 
#define SCSI_VERIFY12   0xAF
 
#define SCSI_VERIFY16   0x8F
 
#define SCSI_WRITE10   0x2A
 
#define SCSI_WRITE12   0xAA
 
#define SCSI_WRITE16   0x8A
 
#define SCSI_WRITE6   0x0A
 
#define SENSE_LIST_DEEPTH   4
 
#define STANDARD_INQUIRY_DATA_LEN   0x24
 
#define UNIT_ATTENTION   6
 
#define UNRECOVERED_READ_ERROR   0x11
 
#define VENDOR_SPECIFIC   9
 
#define VOLUME_OVERFLOW   13
 
#define WRITE_FAULT   0x03
 
#define WRITE_PROTECTED   0x27
 

Variables

uint8_t Mode_Sense10_data []
 
uint8_t Mode_Sense6_data []
 
uint8_t Page00_Inquiry_Data []
 
uint8_t ReadCapacity10_Data []
 
uint8_t ReadFormatCapacity_Data []
 
uint8_t Scsi_Sense_Data []
 
uint8_t Standard_Inquiry_Data []
 
uint8_t Standard_Inquiry_Data2 []
 

Detailed Description

Macro Definition Documentation

#define ABORTED_COMMAND   11

Definition at line 92 of file usbd_msc_scsi.h.

#define ADDRESS_OUT_OF_RANGE   0x21

Definition at line 101 of file usbd_msc_scsi.h.

#define BLANK_CHECK   8

Definition at line 89 of file usbd_msc_scsi.h.

#define BLKVFY   0x04

Definition at line 114 of file usbd_msc_scsi.h.

#define COPY_ABORTED   10

Definition at line 91 of file usbd_msc_scsi.h.

#define DATA_PROTECT   7

Definition at line 88 of file usbd_msc_scsi.h.

#define HARDWARE_ERROR   4

Definition at line 85 of file usbd_msc_scsi.h.

#define ILLEGAL_REQUEST   5

Definition at line 86 of file usbd_msc_scsi.h.

#define INVALID_CDB   0x20

Definition at line 97 of file usbd_msc_scsi.h.

#define INVALID_FIELD_IN_PARAMETER_LIST   0x26

Definition at line 100 of file usbd_msc_scsi.h.

#define INVALID_FIELED_IN_COMMAND   0x24

Definition at line 98 of file usbd_msc_scsi.h.

#define MEDIUM_ERROR   3

Definition at line 84 of file usbd_msc_scsi.h.

#define MEDIUM_HAVE_CHANGED   0x28

Definition at line 103 of file usbd_msc_scsi.h.

#define MEDIUM_NOT_PRESENT   0x3A

Definition at line 102 of file usbd_msc_scsi.h.

#define MISCOMPARE   14

Definition at line 94 of file usbd_msc_scsi.h.

#define MODE_SENSE10_DATA_LEN   0x08

Definition at line 110 of file usbd_msc_scsi.h.

#define MODE_SENSE6_DATA_LEN   0x04

Definition at line 111 of file usbd_msc_scsi.h.

#define NO_SENSE   0

Definition at line 81 of file usbd_msc_scsi.h.

#define NOT_READY   2

Definition at line 83 of file usbd_msc_scsi.h.

#define PARAMETER_LIST_LENGTH_ERROR   0x1A

Definition at line 99 of file usbd_msc_scsi.h.

#define READ_CAPACITY10_DATA_LEN   0x08

Definition at line 109 of file usbd_msc_scsi.h.

#define READ_FORMAT_CAPACITY_DATA_LEN   0x0C

Definition at line 108 of file usbd_msc_scsi.h.

#define RECOVERED_ERROR   1

Definition at line 82 of file usbd_msc_scsi.h.

#define REQUEST_SENSE_DATA_LEN   0x12

Definition at line 112 of file usbd_msc_scsi.h.

#define SCSI_ALLOW_MEDIUM_REMOVAL   0x1E

Definition at line 57 of file usbd_msc_scsi.h.

#define SCSI_FORMAT_UNIT   0x04

Definition at line 51 of file usbd_msc_scsi.h.

#define SCSI_INQUIRY   0x12

Definition at line 52 of file usbd_msc_scsi.h.

#define SCSI_MODE_SELECT10   0x55

Definition at line 54 of file usbd_msc_scsi.h.

#define SCSI_MODE_SELECT6   0x15

Definition at line 53 of file usbd_msc_scsi.h.

#define SCSI_MODE_SENSE10   0x5A

Definition at line 56 of file usbd_msc_scsi.h.

#define SCSI_MODE_SENSE6   0x1A

Definition at line 55 of file usbd_msc_scsi.h.

#define SCSI_READ10   0x28

Definition at line 59 of file usbd_msc_scsi.h.

#define SCSI_READ12   0xA8

Definition at line 60 of file usbd_msc_scsi.h.

#define SCSI_READ16   0x88

Definition at line 61 of file usbd_msc_scsi.h.

#define SCSI_READ6   0x08

Definition at line 58 of file usbd_msc_scsi.h.

#define SCSI_READ_CAPACITY10   0x25

Definition at line 63 of file usbd_msc_scsi.h.

#define SCSI_READ_CAPACITY16   0x9E

Definition at line 64 of file usbd_msc_scsi.h.

#define SCSI_READ_FORMAT_CAPACITIES   0x23

Definition at line 79 of file usbd_msc_scsi.h.

#define SCSI_REQUEST_SENSE   0x03

Definition at line 66 of file usbd_msc_scsi.h.

#define SCSI_SEND_DIAGNOSTIC   0x1D

Definition at line 78 of file usbd_msc_scsi.h.

#define SCSI_START_STOP_UNIT   0x1B

Definition at line 67 of file usbd_msc_scsi.h.

#define SCSI_TEST_UNIT_READY   0x00

Definition at line 68 of file usbd_msc_scsi.h.

#define SCSI_VERIFY10   0x2F

Definition at line 74 of file usbd_msc_scsi.h.

#define SCSI_VERIFY12   0xAF

Definition at line 75 of file usbd_msc_scsi.h.

#define SCSI_VERIFY16   0x8F

Definition at line 76 of file usbd_msc_scsi.h.

#define SCSI_WRITE10   0x2A

Definition at line 70 of file usbd_msc_scsi.h.

#define SCSI_WRITE12   0xAA

Definition at line 71 of file usbd_msc_scsi.h.

#define SCSI_WRITE16   0x8A

Definition at line 72 of file usbd_msc_scsi.h.

#define SCSI_WRITE6   0x0A

Definition at line 69 of file usbd_msc_scsi.h.

#define SENSE_LIST_DEEPTH   4

Definition at line 48 of file usbd_msc_scsi.h.

#define STANDARD_INQUIRY_DATA_LEN   0x24

Definition at line 113 of file usbd_msc_scsi.h.

#define UNIT_ATTENTION   6

Definition at line 87 of file usbd_msc_scsi.h.

#define UNRECOVERED_READ_ERROR   0x11

Definition at line 105 of file usbd_msc_scsi.h.

#define VENDOR_SPECIFIC   9

Definition at line 90 of file usbd_msc_scsi.h.

#define VOLUME_OVERFLOW   13

Definition at line 93 of file usbd_msc_scsi.h.

#define WRITE_FAULT   0x03

Definition at line 106 of file usbd_msc_scsi.h.

#define WRITE_PROTECTED   0x27

Definition at line 104 of file usbd_msc_scsi.h.

Variable Documentation

uint8_t Mode_Sense10_data[]
uint8_t Mode_Sense6_data[]
uint8_t Page00_Inquiry_Data[]
uint8_t ReadCapacity10_Data[]
uint8_t ReadFormatCapacity_Data[]
uint8_t Scsi_Sense_Data[]
uint8_t Standard_Inquiry_Data[]
uint8_t Standard_Inquiry_Data2[]


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:28