예제 #1
0
 private void ControlTransferIn(CrazyradioRequest request, short value, short index, short length, byte[] data)
 {
     ControlTransfer(UsbRequestType.TypeVendor, UsbRequestRecipient.RecipDevice, UsbEndpointDirection.EndpointIn, (byte)request, value, index, length, data);
 }
 private void ControlTransferOut(CrazyradioRequest request, short value, short index, short length, byte[] data)
 {
     ControlTransfer(UsbRequestType.TypeVendor, UsbRequestRecipient.RecipDevice, UsbEndpointDirection.EndpointOut, (byte) request, value, index, length, data);
 }