| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
MS_CommandStatusWrapper_t Struct Reference
Common Class Definitions

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

uint32_t MS_CommandStatusWrapper_t::DataTransferResidue

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

uint32_t MS_CommandStatusWrapper_t::Signature

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

uint8_t MS_CommandStatusWrapper_t::Status

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

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:

- Drivers/USB/Class/Common/MassStorageClassCommon.h