MSDBOT_CBW_TypeDef Struct Reference

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

Definition at line 66 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 90 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::bmCBWFlags

CBW Flags.

Definition at line 76 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::CBLength

SCSI CDB length.

Definition at line 87 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::CBWCB[16]

SCSI CDB.

Definition at line 92 of file msdbot.h .

Referenced by MSDD_Handler() .

uint32_t MSDBOT_CBW_TypeDef::dCBWDataTransferLength

BOT transfer length.

Definition at line 69 of file msdbot.h .

Referenced by MSDBOT_Xfer() .

uint32_t MSDBOT_CBW_TypeDef::dCBWSignature

The CBW signature (ascii USBC).

Definition at line 67 of file msdbot.h .

uint32_t MSDBOT_CBW_TypeDef::dCBWTag

The CBW tag.

Definition at line 68 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::Direction

BOT transfer directon, 1=BOT IN

Definition at line 74 of file msdbot.h .

Referenced by MSDBOT_Xfer() .

uint8_t MSDBOT_CBW_TypeDef::Lun

Device Logical Unit Number.

Definition at line 80 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::Obsolete

Obsolete, expect 0.

Definition at line 73 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::Reserved1

Reserved, expect 0.

Definition at line 72 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::Reserved2

Reserved, expect 0.

Definition at line 81 of file msdbot.h .

uint8_t MSDBOT_CBW_TypeDef::Reserved3

Reserved, expect 0.

Definition at line 88 of file msdbot.h .


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