SAMV71 Xplained Ultra Software Package 1.3

MSCsw Struct Reference
[Usbd_msd]

Data Fields

uint32_t dCSWSignature
uint32_t dCSWTag
uint32_t dCSWDataResidue
uint8_t bCSWStatus

Detailed Description

Definition at line 222 of file MSD.h.


Field Documentation

Indicates the success or failure of the command.

Definition at line 240 of file MSD.h.

For Data-Out the device shall report in the dCSWDataResidue the 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 dCSWDataResidue the difference between the amount of data expected as stated in the dCBWDataTransferLength and the actual amount of relevant data sent by the device. The dCSWDataResidue shall not exceed the value sent in the dCBWDataTransferLength.

Definition at line 238 of file MSD.h.

'USBS' 0x53425355 (little endian)

Definition at line 225 of file MSD.h.

uint32_t MSCsw::dCSWTag

Must be the same as dCBWTag

Definition at line 227 of file MSD.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines