EFM32 Pearl Gecko 12 Software Documentation  efm32pg12-doc-5.1.2
MSDD_CmdStatus_TypeDef Struct Reference

Detailed Description

Status info for one BOT CBW -> Data I/O -> CSW cycle.

Definition at line 37 of file msdd.h.

#include <msdd.h>

Public Types

enum  {
  XFER_MEMORYMAPPED = 0,
  XFER_INDIRECT
}
 

Data Fields

uint8_t direction
 
uint32_t lba
 
uint32_t maxBurst
 
uint8_t * pData
 
bool valid
 
uint32_t xferLen
 
enum MSDD_CmdStatus_TypeDef:: { ... }  xferType
 

Field Documentation

uint8_t MSDD_CmdStatus_TypeDef::direction

Set if BOT direction is IN.

Definition at line 40 of file msdd.h.

uint32_t MSDD_CmdStatus_TypeDef::lba

SCSI Read/Write lba address.

Definition at line 42 of file msdd.h.

uint32_t MSDD_CmdStatus_TypeDef::maxBurst

Max length of one transfer.

Definition at line 44 of file msdd.h.

uint8_t* MSDD_CmdStatus_TypeDef::pData

Media data pointer.

Definition at line 41 of file msdd.h.

bool MSDD_CmdStatus_TypeDef::valid

True if the CBW is valid.

Definition at line 39 of file msdd.h.

uint32_t MSDD_CmdStatus_TypeDef::xferLen

BOT transfer length.

Definition at line 43 of file msdd.h.

enum { ... } MSDD_CmdStatus_TypeDef::xferType

MSD media access type.


The documentation for this struct was generated from the following file: