msc_cbw_buf_t Struct Reference

Command Block Wrapper packet structure. More...

Detailed Description

Command Block Wrapper packet structure.

See also
Table 5.1 Command Block Wrapper (CBW) from Universal Serial Bus Mass Storage Class Bulk-Only Transport

Definition at line 237 of file scsi.h.

#include <scsi.h>

Data Fields

uint32_t signature
 CBW signature (SCSI_CBW_SIGNATURE)
 
uint32_t tag
 ID for the current command.
 
uint32_t data_len
 Number of bytes host expects to transfer from/to.
 
uint8_t flags
 Command block flags.
 
uint8_t lun
 Target Logical Unit Number.
 
uint8_t cb_len
 Length of the block in bytes (max: 16 bytes)
 
uint8_t cb [16]
 Command block buffer.
 

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