SAMV71 Xplained Ultra Software Package 1.3

SBC Operation Codes
[Usbd_msd]

Collaboration diagram for SBC Operation Codes:

Defines

#define SBC_INQUIRY   0x12
#define SBC_READ_10   0x28
#define SBC_READ_CAPACITY_10   0x25
#define SBC_REQUEST_SENSE   0x03
#define SBC_TEST_UNIT_READY   0x00
#define SBC_WRITE_10   0x2A
#define SBC_PREVENT_ALLOW_MEDIUM_REMOVAL   0x1E
#define SBC_MODE_SENSE_6   0x1A
#define SBC_VERIFY_10   0x2F
#define SBC_READ_FORMAT_CAPACITIES   0x23

Detailed Description

This page lists operation codes of commands described in the SBC-3 standard.

Note:
That most commands are actually defined in other standards, like SPC-4. Optional commands are not included here.
See also:
sbc3r07.pdf - Section 5.1 - Table 12
spc4r06.pdf
SBCCommand

Codes

Codes but required by Windows


Define Documentation

#define SBC_INQUIRY   0x12

Request information regarding parameters of the target and Logical Unit.

Definition at line 80 of file SBC.h.

#define SBC_MODE_SENSE_6   0x1A

Report parameters.

Definition at line 96 of file SBC.h.

#define SBC_PREVENT_ALLOW_MEDIUM_REMOVAL   0x1E

Request that the target enable or disable the removal of the medium in the Logical Unit.

Definition at line 94 of file SBC.h.

#define SBC_READ_10   0x28

Request the transfer data to the host.

Definition at line 82 of file SBC.h.

#define SBC_READ_CAPACITY_10   0x25

Request capacities of the currently installed medium.

Definition at line 84 of file SBC.h.

#define SBC_READ_FORMAT_CAPACITIES   0x23

Request a list of the possible capacities that can be formatted on medium

Definition at line 100 of file SBC.h.

#define SBC_REQUEST_SENSE   0x03

Request that the device server transfer sense data.

Definition at line 86 of file SBC.h.

#define SBC_TEST_UNIT_READY   0x00

Check if the LUN is ready

Definition at line 88 of file SBC.h.

#define SBC_VERIFY_10   0x2F

Request that the device verify the data on the medium.

Definition at line 98 of file SBC.h.

#define SBC_WRITE_10   0x2A

Request that the device write the data transferred by the host.

Definition at line 90 of file SBC.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines