# usb_msc_csw Struct Reference

A Command Status Wrapper (CSW). More...

`#include <msc_protocol.h>`

## Data Fields
le32_t | dCSWSignature
| Must contain 'USBS'.
le32_t | dCSWTag
| Same as dCBWTag.
le32_t | dCSWDataResidue
| Number of bytes not transfered.
uint8_t | bCSWStatus
| Status code.

## Detailed Description

A Command Status Wrapper (CSW).

Definition at line 116 of file msc_protocol.h.

## Field Documentation

uint8_t usb_msc_csw::bCSWStatus

Status code.

Definition at line 120 of file msc_protocol.h.

le32_t usb_msc_csw::dCSWDataResidue

Number of bytes not transfered.

Definition at line 119 of file msc_protocol.h.

le32_t usb_msc_csw::dCSWSignature

Must contain 'USBS'.

Definition at line 117 of file msc_protocol.h.

le32_t usb_msc_csw::dCSWTag

Same as dCBWTag.

Definition at line 118 of file msc_protocol.h.

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

- include/usb/msc_protocol.h