LUFA Library
MS_CommandStatusWrapper_t Struct Reference

Mass Storage Class Command Status Wrapper. More...

#include <MassStorageClassCommon.h>

Data Fields

uint32_t DataTransferResidue
 
uint32_t Signature
 
uint8_t Status
 
uint32_t Tag
 

Detailed Description

Type define for a Command Status Wrapper, used in the Mass Storage Bulk-Only Transport protocol.

Note
Regardless of CPU architecture, these values should be stored as little endian.

Field Documentation

◆ DataTransferResidue

uint32_t MS_CommandStatusWrapper_t::DataTransferResidue

Number of bytes of data not processed in the SCSI command.

◆ Signature

uint32_t MS_CommandStatusWrapper_t::Signature

Status block signature, must be MS_CSW_SIGNATURE to indicate a valid Command Status.

◆ Status

uint8_t MS_CommandStatusWrapper_t::Status

Status code of the issued command - a value from the MS_CommandStatusCodes_t enum.

◆ Tag

uint32_t MS_CommandStatusWrapper_t::Tag

Unique command ID value, to associate a command block wrapper with its command status wrapper.


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