NetBurner 3.5.7
PDF Version
_usb_host_csw Struct Reference

MSC Bulk-Only command status wrapper (CSW) More...

#include <usb_host_msd.h>

Public Attributes

uint32_t CSWSignature
 
uint32_t CSWTag
 
uint32_t CSWDataResidue
 
uint8_t CSWStatus
 

Detailed Description

MSC Bulk-Only command status wrapper (CSW)

Member Data Documentation

◆ CSWDataResidue

uint32_t _usb_host_csw::CSWDataResidue

the difference between the amount of data expected as stated in the dCBWDataTransferLength and the actual amount of relevant data processed by the device.

◆ CSWSignature

uint32_t _usb_host_csw::CSWSignature

Signature that helps identify this data packet as a CSW. The signature field shall contain the value 53425355h (little endian), indicating CSW.

◆ CSWStatus

uint8_t _usb_host_csw::CSWStatus

bCSWStatus indicates the success or failure of the command. 00h - Command passed. 01h - Command Failed. 02h - Phase error. others - Reserved.

◆ CSWTag

uint32_t _usb_host_csw::CSWTag

The device shall set this field to the value received in the dCBWTag of the associated CBW


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