MSDBOT_CBW_TypeDef Struct ReferenceKit Drivers > Gecko USB MSD

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

Definition at line 53 of file msdbot.h.

#include <msdbot.h>

Data Fields

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
 
}; 
 
union {
   struct {
      uint8_t   CBLength: 5
 
      uint8_t   Reserved3: 3
 
   } 
 
   uint8_t   bCBWCBLength
 
}; 
 
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 77 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::bmCBWFlags

CBW Flags.

Definition at line 63 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::CBLength

SCSI CDB length.

Definition at line 74 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::CBWCB[16]

SCSI CDB.

Definition at line 79 of file msdbot.h.

Referenced by MSDD_Handler().

uint32_t MSDBOT_CBW_TypeDef::dCBWDataTransferLength

BOT transfer length.

Definition at line 56 of file msdbot.h.

Referenced by MSDBOT_Xfer().

uint32_t MSDBOT_CBW_TypeDef::dCBWSignature

The CBW signature (ascii USBC).

Definition at line 54 of file msdbot.h.

uint32_t MSDBOT_CBW_TypeDef::dCBWTag

The CBW tag.

Definition at line 55 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::Direction

BOT transfer directon, 1=BOT IN

Definition at line 61 of file msdbot.h.

Referenced by MSDBOT_Xfer().

uint8_t MSDBOT_CBW_TypeDef::Lun

Device Logical Unit Number.

Definition at line 67 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::Obsolete

Obsolete, expect 0.

Definition at line 60 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::Reserved1

Reserved, expect 0.

Definition at line 59 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::Reserved2

Reserved, expect 0.

Definition at line 68 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::Reserved3

Reserved, expect 0.

Definition at line 75 of file msdbot.h.


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