MSDBOT_CBW_TypeDef Struct Reference
[Msd]

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

#include <msdbot.h>

Collaboration diagram for MSDBOT_CBW_TypeDef:
Collaboration graph
[legend]

Data Fields

uint32_t dCBWSignature
 The CBW signature (ascii USBC).
uint32_t dCBWTag
 The CBW tag.
uint32_t dCBWDataTransferLength
 BOT transfer length.
union {
   struct {
      uint8_t   Reserved1: 6
 Reserved, expect 0.
      uint8_t   Obsolete: 1
 Obsolete, expect 0.
      uint8_t   Direction: 1
 BOT transfer directon, 1=BOT IN.
   } 
   uint8_t   bmCBWFlags
 CBW Flags.
}; 
union {
   struct {
      uint8_t   Lun: 4
 Device Logical Unit Number.
      uint8_t   Reserved2: 4
 Reserved, expect 0.
   } 
   uint8_t   bCBWLUN
}; 
union {
   struct {
      uint8_t   CBLength: 5
 SCSI CDB length.
      uint8_t   Reserved3: 3
 Reserved, expect 0.
   } 
   uint8_t   bCBWCBLength
 SCSI CDB length.
}; 
uint8_t CBWCB [16]
 SCSI CDB.

Detailed Description

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

Definition at line 70 of file msdbot.h.


Field Documentation

SCSI CDB length.

Definition at line 101 of file msdbot.h.

CBW Flags.

Definition at line 83 of file msdbot.h.

SCSI CDB length.

Definition at line 98 of file msdbot.h.

SCSI CDB.

Definition at line 103 of file msdbot.h.

Referenced by MSDD_Handler().

BOT transfer length.

Definition at line 74 of file msdbot.h.

Referenced by MSDBOT_Xfer().

The CBW signature (ascii USBC).

Definition at line 72 of file msdbot.h.

The CBW tag.

Definition at line 73 of file msdbot.h.

BOT transfer directon, 1=BOT IN.

Definition at line 81 of file msdbot.h.

Referenced by MSDBOT_Xfer().

Device Logical Unit Number.

Definition at line 89 of file msdbot.h.

Obsolete, expect 0.

Definition at line 80 of file msdbot.h.

Reserved, expect 0.

Definition at line 79 of file msdbot.h.

Reserved, expect 0.

Definition at line 90 of file msdbot.h.

Reserved, expect 0.

Definition at line 99 of file msdbot.h.


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