tinyusb
|
Data Structures | |
struct | msc_cmd_block_wrapper_t |
Command Block Wrapper. More... | |
struct | msc_cmd_status_wrapper_t |
Command Status Wrapper. More... | |
struct | scsi_test_unit_ready_t |
SCSI Test Unit Ready Command. More... | |
struct | scsi_inquiry_t |
SCSI Inquiry Command. More... | |
struct | scsi_inquiry_data_t |
SCSI Inquiry Response Data. More... | |
struct | scsi_sense_fixed_data_t |
struct | scsi_mode_sense_6_t |
struct | scsi_mode_parameters_t |
struct | scsi_prevent_allow_medium_removal_t |
struct | scsi_read_format_capacity_t |
SCSI Read Format Capacity: Write Capacity. More... | |
struct | scsi_read_format_capacity_data_t |
struct | scsi_read_capacity10_t |
SCSI Read Capacity 10 Command: Read Capacity. More... | |
struct | scsi_read_capacity10_data_t |
SCSI Read Capacity 10 Response Data. More... | |
struct | scsi_read10_t |
SCSI Read 10 Command. More... | |
Typedefs | |
typedef struct scsi_inquiry_t | scsi_request_sense_t |
typedef struct scsi_read10_t | scsi_write10_t |
Functions | |
STATIC_ASSERT (sizeof(msc_cmd_block_wrapper_t)==31,"size is not correct") | |
STATIC_ASSERT (sizeof(msc_cmd_status_wrapper_t)==13,"size is not correct") | |
STATIC_ASSERT (sizeof(scsi_test_unit_ready_t)==6,"size is not correct") | |
STATIC_ASSERT (sizeof(scsi_inquiry_t)==6,"size is not correct") | |
STATIC_ASSERT (sizeof(scsi_inquiry_data_t)==36,"size is not correct") | |
STATIC_ASSERT (sizeof(scsi_sense_fixed_data_t)==18,"size is not correct") | |
STATIC_ASSERT (sizeof(scsi_mode_sense_6_t)==6,"size is not correct") | |
STATIC_ASSERT (sizeof(scsi_mode_parameters_t)==4,"size is not correct") | |
STATIC_ASSERT (sizeof(scsi_prevent_allow_medium_removal_t)==6,"size is not correct") | |
STATIC_ASSERT (sizeof(scsi_read_format_capacity_t)==10,"size is not correct") | |
STATIC_ASSERT (sizeof(scsi_read_format_capacity_data_t)==12,"size is not correct") | |
STATIC_ASSERT (sizeof(scsi_read_capacity10_t)==10,"size is not correct") | |
STATIC_ASSERT (sizeof(scsi_read_capacity10_data_t)==8,"size is not correct") | |
STATIC_ASSERT (sizeof(scsi_read10_t)==10,"size is not correct") | |
anonymous enum |
enum msc_csw_status_t |
Command Block Status Values.
Indicates the success or failure of the command. The device shall set this byte to zero if the command completed successfully. A non-zero value shall indicate a failure during command execution according to the following
Enumerator | |
---|---|
MSC_CSW_STATUS_PASSED |
MSC_CSW_STATUS_PASSED. |
MSC_CSW_STATUS_FAILED |
MSC_CSW_STATUS_FAILED. |
MSC_CSW_STATUS_PHASE_ERROR |
MSC_CSW_STATUS_PHASE_ERROR. |
enum msc_protocol_type_t |
MassStorage Protocol.
CBI only approved to use with full-speed floopy disk & should not used with highspeed or device other than floopy
enum msc_request_type_t |
MassStorage Class-Specific Control Request.
enum msc_subclass_type_t |
MassStorage Subclass.
enum scsi_cmd_type_t |
SCSI Command Operation Code.
SCSI Sense Key.