msdscsi.h File Reference

SCSI interface for Mass Storage Devices (MSD). More...

This graph shows which files directly or indirectly include this file:

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_RequestSense_TypeDef
 SCSI Request Sense Command Descriptor Block (CDB) typedef. More...
struct  MSDSCSI_RequestSenseData_TypeDef
 SCSI Request Sense response data 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_Read10_TypeDef
 SCSI Read 10 Command Descriptor Block (CDB) typedef. More...
struct  MSDSCSI_Write10_TypeDef
 SCSI Write 10 Command Descriptor Block (CDB) typedef. More...

Defines

#define SCSI_TESTUNIT_READY   0x00
 SCSI Test Unit Ready command opcode.
#define SCSI_REQUESTSENSE   0x03
 SCSI Request Sense command opcode.
#define SCSI_INQUIRY   0x12
 SCSI Inquiry command opcode.
#define SCSI_STARTSTOP_UNIT   0x1B
 SCSI Start Stop Unit command opcode.
#define SCSI_READCAPACITY   0x25
 SCSI Read Capacity command opcode.
#define SCSI_READ10   0x28
 SCSI Read (10) command opcode.
#define SCSI_WRITE10   0x2A
 SCSI Write (10) command opcode.
#define SCSI_READ10_LEN   10U
 SCSI Read (10) CBD length.
#define SCSI_WRITE10_LEN   10U
 SCSI Write (10) CDB length.
#define SCSI_INQUIRYDATA_LEN   36U
 SCSI Inquiry response data length.
#define SCSI_REQUESTSENSE_LEN   6U
 SCSI Request Sense CDB length.
#define SCSI_REQUESTSENSEDATA_LEN   18U
 SCSI Request Sense response data length.
#define SCSI_READCAPACITY_LEN   10U
 SCSI Read Capacity CDB length.
#define SCSI_READCAPACITYDATA_LEN   8U
 SCSI Read Capacity response data length.

Detailed Description

SCSI interface for Mass Storage Devices (MSD).

Author:
Energy Micro AS
Version:
3.20.0

License

(C) Copyright 2012 Energy Micro AS, http://www.energymicro.com

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. 4. The source and compiled code may only be used on Energy Micro "EFM32" microcontrollers and "EFR4" radios.

DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Energy Micro AS has no obligation to support this Software. Energy Micro AS is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.

Energy Micro AS will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.

Definition in file msdscsi.h.