tinyusb  0.4
Click here to lend your support to tinyusb donation and make a donation at pledgie.com
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
msc_cmd_status_wrapper_t Struct Reference

Command Status Wrapper. More...

#include <msc.h>

Data Fields

uint32_t signature
 Signature that helps identify this data packet as a CSW. The signature field shall contain the value 53425355h (little endian), indicating CSW.
 
uint32_t tag
 The device shall set this field to the value received in the dCBWTag of the associated CBW.
 
uint32_t data_residue
 For Data-Out the device shall report in the dCSWDataResiduethe difference between the amount of data expected as stated in the dCBWDataTransferLength, and the actual amount of data processed by the device. For Data-In the device shall report in the dCSWDataResiduethe difference between the amount of data expected as stated in the dCBWDataTransferLengthand the actual amount of relevant data sent by the device.
 
uint8_t status
 indicates the success or failure of the command. Values from msc_csw_status_t
 

Detailed Description

Command Status Wrapper.

Definition at line 110 of file msc.h.


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