Command Block Wrapper packet structure.
More...
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 236 of file scsi.h.
#include <scsi.h>
|
| 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.
|
| |
◆ cb
| uint8_t msc_cbw_buf_t::cb[16] |
Command block buffer.
Definition at line 243 of file scsi.h.
◆ cb_len
| uint8_t msc_cbw_buf_t::cb_len |
Length of the block in bytes (max: 16 bytes)
Definition at line 242 of file scsi.h.
◆ data_len
| uint32_t msc_cbw_buf_t::data_len |
Number of bytes host expects to transfer from/to.
Definition at line 239 of file scsi.h.
◆ flags
| uint8_t msc_cbw_buf_t::flags |
Command block flags.
Definition at line 240 of file scsi.h.
◆ lun
| uint8_t msc_cbw_buf_t::lun |
Target Logical Unit Number.
Definition at line 241 of file scsi.h.
◆ signature
| uint32_t msc_cbw_buf_t::signature |
◆ tag
| uint32_t msc_cbw_buf_t::tag |
ID for the current command.
Definition at line 238 of file scsi.h.
The documentation for this struct was generated from the following file:
- sys/include/usb/usbus/msc/scsi.h