diff USBLib/Communication/IUsbDevice.cs @ 46:053cc617af54

USBLib: added functions to clear USB endpoint halt state
author Ivo Smits <Ivo@UCIS.nl>
date Sun, 30 Jun 2013 16:28:36 +0200
parents dcfec2be27c9
children abe0d55a2201
line wrap: on
line diff
--- a/USBLib/Communication/IUsbDevice.cs	Wed Jun 12 23:20:21 2013 +0200
+++ b/USBLib/Communication/IUsbDevice.cs	Sun Jun 30 16:28:36 2013 +0200
@@ -21,8 +21,10 @@
 
 		int BulkWrite(Byte endpoint, Byte[] buffer, int offset, int length);
 		int BulkRead(Byte endpoint, Byte[] buffer, int offset, int length);
+		void BulkReset(Byte endpoint);
 		int InterruptWrite(Byte endpoint, Byte[] buffer, int offset, int length);
 		int InterruptRead(Byte endpoint, Byte[] buffer, int offset, int length);
+		void InterruptReset(Byte endpoint);
 		int ControlWrite(UsbControlRequestType requestType, byte request, short value, short index, Byte[] buffer, int offset, int length);
 		int ControlRead(UsbControlRequestType requestType, byte request, short value, short index, Byte[] buffer, int offset, int length);