XferData | Cypress Semiconductor
I would like to know XferData(ref buf, ref len) at Visual C# method.
When I transfer from Device to Host, Does "len" need to be the maximum packet size?
For example, what kind of method should be used to receive 16 bytes of data from HOST?
Although I tested the following contents, I was not successful.
int Len = 16;
byte Buf = new byte[Len];
BulkEndpoint.XferData(ref Buf, ref Len);