C# Class ICSharpCode.USBlib.Device

Description of Device.
Inheritance: System.IDisposable
Show file Open project: roboime/legacy-roboime Class Usage Examples

Public Methods

Method Description
BulkRead ( int endpoint, byte bytes ) : void
BulkWrite ( int endpoint, byte bytes ) : void
Close ( ) : void
Dispose ( ) : void
InterruptRead ( int endpoint, byte bytes ) : void
InterruptWrite ( int endpoint, byte bytes ) : void
Reset ( ) : void
SendControlMessage ( int requestType, int request, int val, byte bytes ) : int

Private Methods

Method Description
CheckDeviceOpen ( ) : void
Device ( Descriptor descriptor ) : System

Method Details

BulkRead() public method

public BulkRead ( int endpoint, byte bytes ) : void
endpoint int
bytes byte
return void

BulkWrite() public method

public BulkWrite ( int endpoint, byte bytes ) : void
endpoint int
bytes byte
return void

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

InterruptRead() public method

public InterruptRead ( int endpoint, byte bytes ) : void
endpoint int
bytes byte
return void

InterruptWrite() public method

public InterruptWrite ( int endpoint, byte bytes ) : void
endpoint int
bytes byte
return void

Reset() public method

public Reset ( ) : void
return void

SendControlMessage() public method

public SendControlMessage ( int requestType, int request, int val, byte bytes ) : int
requestType int
request int
val int
bytes byte
return int