EFM32 Tiny Gecko Software Documentation  efm32tg-doc-5.1.2
MSDBOT_CBW_TypeDef Struct Reference

Detailed Description

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

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

uint8_t MSDBOT_CBW_TypeDef::bmCBWFlags

CBW Flags.

Definition at line 65 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::CBLength

SCSI CDB length.

Definition at line 80 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::CBWCB[16]

SCSI CDB.

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

Referenced by MSDBOT_Xfer().

uint8_t MSDBOT_CBW_TypeDef::Lun

Device Logical Unit Number.

Definition at line 71 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::Obsolete

Obsolete, expect 0.

Definition at line 62 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::Reserved1

Reserved, expect 0.

Definition at line 61 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::Reserved2

Reserved, expect 0.

Definition at line 72 of file msdbot.h.

uint8_t MSDBOT_CBW_TypeDef::Reserved3

Reserved, expect 0.

Definition at line 81 of file msdbot.h.


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