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.