C# 클래스 NUSB.Controller.Windows32USBController

USB Controller that uses the Windows API to interact with USB devices
상속: IUSBController
파일 보기 프로젝트 열기: thenathanjones/nusb 1 사용 예제들

공개 메소드들

메소드 설명
Connect ( ) : void
Disconnect ( ) : void
Dispose ( ) : void
HidSetFeature ( byte reportBuffer ) : void
Initialise ( string pathToDevice, bool separateHandles ) : void
Read ( byte readBuffer ) : void
ReadControl ( uint controlCode, byte writeBuffer, byte readBuffer ) : void
ReadControlOverlapped ( uint controlCode, byte writeBuffer, byte readBuffer ) : void
ReadOverlapped ( byte readBuffer ) : void
Write ( byte writeBuffer ) : void
WriteClear ( uint controlCode ) : void
WriteControl ( uint controlCode, byte writeBuffer ) : void
WriteControlOverlapped ( uint controlCode, byte writeBuffer ) : void
WriteOverlapped ( byte writeBuffer ) : void

비공개 메소드들

메소드 설명
CancelOverlapped ( SafeFileHandle handle, ManualResetEvent completedEvent ) : void
CleanupHandle ( SafeFileHandle handle ) : void
CleanupHandles ( ) : void
HandleIOError ( bool ignoreOverlapped ) : void
OpenHandle ( ) : void
OpenSeparateHandles ( ) : void
OpenSingleHandle ( ) : void

메소드 상세

Connect() 공개 메소드

public Connect ( ) : void
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

HidSetFeature() 공개 메소드

public HidSetFeature ( byte reportBuffer ) : void
reportBuffer byte
리턴 void

Initialise() 공개 메소드

public Initialise ( string pathToDevice, bool separateHandles ) : void
pathToDevice string
separateHandles bool
리턴 void

Read() 공개 메소드

public Read ( byte readBuffer ) : void
readBuffer byte
리턴 void

ReadControl() 공개 메소드

public ReadControl ( uint controlCode, byte writeBuffer, byte readBuffer ) : void
controlCode uint
writeBuffer byte
readBuffer byte
리턴 void

ReadControlOverlapped() 공개 메소드

public ReadControlOverlapped ( uint controlCode, byte writeBuffer, byte readBuffer ) : void
controlCode uint
writeBuffer byte
readBuffer byte
리턴 void

ReadOverlapped() 공개 메소드

public ReadOverlapped ( byte readBuffer ) : void
readBuffer byte
리턴 void

Write() 공개 메소드

public Write ( byte writeBuffer ) : void
writeBuffer byte
리턴 void

WriteClear() 공개 메소드

public WriteClear ( uint controlCode ) : void
controlCode uint
리턴 void

WriteControl() 공개 메소드

public WriteControl ( uint controlCode, byte writeBuffer ) : void
controlCode uint
writeBuffer byte
리턴 void

WriteControlOverlapped() 공개 메소드

public WriteControlOverlapped ( uint controlCode, byte writeBuffer ) : void
controlCode uint
writeBuffer byte
리턴 void

WriteOverlapped() 공개 메소드

public WriteOverlapped ( byte writeBuffer ) : void
writeBuffer byte
리턴 void