MSDD_CmdStatus_TypeDef Struct ReferenceKit Drivers > Gecko USB MSD

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

Definition at line 52 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 54 of file msdd.h .

uint32_t MSDD_CmdStatus_TypeDef::lba

SCSI Read/Write lba address.

Definition at line 56 of file msdd.h .

uint32_t MSDD_CmdStatus_TypeDef::maxBurst

Max length of one transfer.

Definition at line 58 of file msdd.h .

uint8_t* MSDD_CmdStatus_TypeDef::pData

Media data pointer.

Definition at line 55 of file msdd.h .

bool MSDD_CmdStatus_TypeDef::valid

True if the CBW is valid.

Definition at line 53 of file msdd.h .

uint32_t MSDD_CmdStatus_TypeDef::xferLen

BOT transfer length.

Definition at line 57 of file msdd.h .

enum { ... } MSDD_CmdStatus_TypeDef::xferType

MSD media access type.


The documentation for this struct was generated from the following file:
  • C:/repos/super/hardware/kit/common/drivers/ msdd.h