EZR32 Wonder Gecko Software Documentation
ezr32wg-doc-5.1.2
|
SCSI interface for Mass Storage Devices (MSD).
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 |
Functions | |
bool | MSDSCSI_Init (USBH_Ep_TypeDef *out, USBH_Ep_TypeDef *in) |
MSDSCSI module initialization. More... | |
bool | MSDSCSI_Inquiry (MSDSCSI_InquiryData_TypeDef *data) |
Issue a SCSI Inquiry command. More... | |
bool | MSDSCSI_Read10 (uint32_t lba, uint16_t sectors, void *data) |
Issue a SCSI Read(10) command. More... | |
bool | MSDSCSI_ReadCapacity (MSDSCSI_ReadCapacityData_TypeDef *data) |
Issue a SCSI Read Capacity command. More... | |
bool | MSDSCSI_RequestSense (MSDSCSI_RequestSenseData_TypeDef *data) |
Issue a SCSI Request Sense command. More... | |
bool | MSDSCSI_TestUnitReady (void) |
Issue a SCSI Test Unit Ready command. More... | |
bool | MSDSCSI_Write10 (uint32_t lba, uint16_t sectors, const void *data) |
Perform a SCSI Write(10) command. More... | |