Loading...
Searching...
No Matches
msc_csw_buf_t Struct Reference

Command Status Wrapper packet structure. More...

Detailed Description

Command Status Wrapper packet structure.

See also
Table 5.2 - Command Status Wrapper from Universal Serial Bus Mass Storage Class Bulk-Only Transport

Definition at line 253 of file scsi.h.

#include <scsi.h>

Data Fields

uint32_t signature
 CSW signature (SCSI_CSW_SIGNATURE)
 
uint32_t tag
 ID for the answered CBW.
 
uint32_t data_left
 Indicate how many bytes from the CBW were not processed.
 
uint8_t status
 Status of the command.
 

Field Documentation

◆ data_left

uint32_t msc_csw_buf_t::data_left

Indicate how many bytes from the CBW were not processed.

Definition at line 256 of file scsi.h.

◆ signature

uint32_t msc_csw_buf_t::signature

CSW signature (SCSI_CSW_SIGNATURE)

Definition at line 254 of file scsi.h.

◆ status

uint8_t msc_csw_buf_t::status

Status of the command.

Definition at line 257 of file scsi.h.

◆ tag

uint32_t msc_csw_buf_t::tag

ID for the answered CBW.

Definition at line 255 of file scsi.h.


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