Mercurial > hg > ucis.core
comparison 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 |
comparison
equal
deleted
inserted
replaced
45:8df7f4dc5615 | 46:053cc617af54 |
---|---|
19 int GetDescriptor(byte descriptorType, byte index, short langId, Byte[] buffer, int offset, int length); | 19 int GetDescriptor(byte descriptorType, byte index, short langId, Byte[] buffer, int offset, int length); |
20 String GetString(short langId, byte stringIndex); | 20 String GetString(short langId, byte stringIndex); |
21 | 21 |
22 int BulkWrite(Byte endpoint, Byte[] buffer, int offset, int length); | 22 int BulkWrite(Byte endpoint, Byte[] buffer, int offset, int length); |
23 int BulkRead(Byte endpoint, Byte[] buffer, int offset, int length); | 23 int BulkRead(Byte endpoint, Byte[] buffer, int offset, int length); |
24 void BulkReset(Byte endpoint); | |
24 int InterruptWrite(Byte endpoint, Byte[] buffer, int offset, int length); | 25 int InterruptWrite(Byte endpoint, Byte[] buffer, int offset, int length); |
25 int InterruptRead(Byte endpoint, Byte[] buffer, int offset, int length); | 26 int InterruptRead(Byte endpoint, Byte[] buffer, int offset, int length); |
27 void InterruptReset(Byte endpoint); | |
26 int ControlWrite(UsbControlRequestType requestType, byte request, short value, short index, Byte[] buffer, int offset, int length); | 28 int ControlWrite(UsbControlRequestType requestType, byte request, short value, short index, Byte[] buffer, int offset, int length); |
27 int ControlRead(UsbControlRequestType requestType, byte request, short value, short index, Byte[] buffer, int offset, int length); | 29 int ControlRead(UsbControlRequestType requestType, byte request, short value, short index, Byte[] buffer, int offset, int length); |
28 | 30 |
29 UsbPipeStream GetBulkStream(Byte endpoint); | 31 UsbPipeStream GetBulkStream(Byte endpoint); |
30 UsbPipeStream GetInterruptStream(Byte endpoint); | 32 UsbPipeStream GetInterruptStream(Byte endpoint); |