tinyusb
|
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 | |
Command Status Wrapper.