EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
msdscsi.h File Reference

Detailed Description

SCSI interface for Mass Storage Devices (MSD).

Version
5.1.1

License

Copyright 2015 Silicon Labs, Inc. http://www.silabs.com

This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file msdscsi.h.

Go to the source code of this file.

Data Structures

struct  MSDSCSI_Inquiry_TypeDef
 SCSI Inquiry Command Descriptor Block (CDB) typedef. More...
 
struct  MSDSCSI_InquiryData_TypeDef
 SCSI Inquiry response data typedef. More...
 
struct  MSDSCSI_Read10_TypeDef
 SCSI Read 10 Command Descriptor Block (CDB) typedef. More...
 
struct  MSDSCSI_ReadCapacity_TypeDef
 SCSI Read Capacity Command Descriptor Block (CDB) typedef. More...
 
struct  MSDSCSI_ReadCapacityData_TypeDef
 SCSI Read Capacity response data typedef. More...
 
struct  MSDSCSI_RequestSense_TypeDef
 SCSI Request Sense Command Descriptor Block (CDB) typedef. More...
 
struct  MSDSCSI_RequestSenseData_TypeDef
 SCSI Request Sense response data typedef. More...
 
struct  MSDSCSI_StartStopUnit_TypeDef
 SCSI Start Stop Unit Command Descriptor Block (CDB) typedef. More...
 
struct  MSDSCSI_Verify10_TypeDef
 SCSI Verify 10 Command Descriptor Block (CDB) typedef. More...
 
struct  MSDSCSI_Write10_TypeDef
 SCSI Write 10 Command Descriptor Block (CDB) typedef. More...
 

Macros

#define SCSI_INQUIRY   0x12
 
#define SCSI_INQUIRYDATA_LEN   36U
 
#define SCSI_READ10   0x28
 
#define SCSI_READ10_LEN   10U
 
#define SCSI_READCAPACITY   0x25
 
#define SCSI_READCAPACITY_LEN   10U
 
#define SCSI_READCAPACITYDATA_LEN   8U
 
#define SCSI_REQUESTSENSE   0x03
 
#define SCSI_REQUESTSENSE_LEN   6U
 
#define SCSI_REQUESTSENSEDATA_LEN   18U
 
#define SCSI_STARTSTOP_UNIT   0x1B
 
#define SCSI_STARTSTOPUNIT_LEN   6U
 
#define SCSI_TESTUNIT_READY   0x00
 
#define SCSI_VERIFY10   0x2F
 
#define SCSI_VERIFY10_LEN   10U
 
#define SCSI_WRITE10   0x2A
 
#define SCSI_WRITE10_LEN   10U