|
NetBurner 3.5.7
PDF Version |
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 |
MSC Bulk-Only command status wrapper (CSW)
| 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.
| 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.
| 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.
| uint32_t _usb_host_csw::CSWTag |
The device shall set this field to the value received in the dCBWTag of the associated CBW