C# 클래스 LibUsbDotNet.LudnMonoLibUsb.MonoUsbEndpointReader

Implements mono-linux libusb 1.x methods for reading data from a EndpointType.Bulk or EndpointType.Interrupt endpoints.
상속: UsbEndpointReader
파일 보기 프로젝트 열기: arvydas/BlinkStickDotNet 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Frees resources associated with the endpoint. Once disposed this class cannot be used.

Flush ( ) : bool

Calling this methods is that same as calling UsbEndpointReader.ReadFlush

Reset ( ) : bool

Cancels pending transfers and clears the halt condition on an enpoint.

비공개 메소드들

메소드 설명
CreateTransferContext ( ) : UsbTransfer
MonoUsbEndpointReader ( UsbDevice usbDevice, int readBufferSize, ReadEndpointID readEndpointID, EndpointType endpointType ) : System

메소드 상세

Dispose() 공개 메소드

Frees resources associated with the endpoint. Once disposed this class cannot be used.
public Dispose ( ) : void
리턴 void

Flush() 공개 메소드

Calling this methods is that same as calling UsbEndpointReader.ReadFlush
public Flush ( ) : bool
리턴 bool

Reset() 공개 메소드

Cancels pending transfers and clears the halt condition on an enpoint.
public Reset ( ) : bool
리턴 bool