UsbEndpointBase Class

LibUsbDotNet

LibUsbDotNet 2.2.8 UsbEndpointBase Class
Library ReferenceLibUsbDotNet.MainUsbEndpointBase
LibUsbDotNet on SourceForge
Endpoint members common to Read, Write, Bulk, and Interrupt EndpointType.
Declaration Syntax
C# Visual Basic Visual C++
public abstract class UsbEndpointBase : IDisposable
Public MustInherit Class UsbEndpointBase _
	Implements IDisposable
public ref class UsbEndpointBase abstract : IDisposable
Members
All Members Methods Properties Fields



Icon Member Description
Abort()()()()
Aborts pending IO operation on this enpoint of one exists.

Device
Gets the UsbDevice class this endpoint belongs to.

Dispose()()()()
Frees resources associated with the endpoint. Once disposed this UsbEndpointBase cannot be used.

EndpointInfo
Returns the UsbEndpointInfo descriptor for this endpoint.

EpNum
Gets the endpoint ID for this UsbEndpointBase class.

Flush()()()()
Discards any data that is cached in this endpoint.

IsDisposed
Gets a value indicating if the object is disposed.

LookupEndpointInfo(UsbConfigInfo, Byte, UsbInterfaceInfo%, UsbEndpointInfo%)
Looks up endpoint/interface information in a configuration.

MaxReadWrite
The maximum transfer payload size for all usb endpoints.

NewAsyncTransfer()()()()
Creates a UsbTransfer context for asynchronous transfers.

Reset()()()()
Resets the data toggle and clears the stall condition on an enpoint.

SubmitAsyncTransfer(Object, Int32, Int32, Int32, UsbTransfer%)
Creates, fills and submits an asynchronous UsbTransfer context.

SubmitAsyncTransfer(IntPtr, Int32, Int32, Int32, UsbTransfer%)
Creates, fills and submits an asynchronous UsbTransfer context.

Transfer(IntPtr, Int32, Int32, Int32, Int32%)
Synchronous bulk/interrupt transfer function.

Transfer(Object, Int32, Int32, Int32, Int32%)
Synchronous bulk/interrupt transfer function.

Type
Returns the EndpointType for this endpoint.

Inheritance Hierarchy

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)