MSDBOT_CBW_TypeDef Struct ReferenceKit Drivers > Msd

Bulk Only Transport (BOT) Command Block Wrapper (CBW) typedef.

Definition at line 51 of file msdbot.h .

#include < msdbot.h >

Data Fields

union {
struct {
uint8_t CBLength : 5
uint8_t Reserved3 : 3
}
uint8_t bCBWCBLength
};
union {
struct {
uint8_t Direction : 1
uint8_t Obsolete : 1
uint8_t Reserved1 : 6
}
uint8_t bmCBWFlags
};
union {
struct {
uint8_t Lun : 4
uint8_t Reserved2 : 4
}
uint8_t bCBWLUN
};
uint8_t CBWCB [16]
uint32_t dCBWDataTransferLength
uint32_t dCBWSignature
uint32_t dCBWTag

Field Documentation

uint8_t MSDBOT_CBW_TypeDef::bCBWCBLength

SCSI CDB length.

Definition at line 75 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::bmCBWFlags

CBW Flags.

Definition at line 61 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::CBLength

SCSI CDB length.

Definition at line 72 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::CBWCB[16]

SCSI CDB.

Definition at line 77 of file msdbot.h .

Referenced by MSDD_Handler() .

uint32_t MSDBOT_CBW_TypeDef::dCBWDataTransferLength

BOT transfer length.

Definition at line 54 of file msdbot.h .

Referenced by MSDBOT_Xfer() .

uint32_t MSDBOT_CBW_TypeDef::dCBWSignature

The CBW signature (ascii USBC).

Definition at line 52 of file msdbot.h .

uint32_t MSDBOT_CBW_TypeDef::dCBWTag

The CBW tag.

Definition at line 53 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::Direction

BOT transfer directon, 1=BOT IN

Definition at line 59 of file msdbot.h .

Referenced by MSDBOT_Xfer() .

uint8_t MSDBOT_CBW_TypeDef::Lun

Device Logical Unit Number.

Definition at line 65 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::Obsolete

Obsolete, expect 0.

Definition at line 58 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::Reserved1

Reserved, expect 0.

Definition at line 57 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::Reserved2

Reserved, expect 0.

Definition at line 66 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::Reserved3

Reserved, expect 0.

Definition at line 73 of file msdbot.h .


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