C# 클래스 FTDISample.Serial.FtdiSerialDevice

상속: ISerialDevice
파일 보기 프로젝트 열기: Jark/FTDISample

공개 메소드들

메소드 설명
FtdiSerialDevice ( IFTDevice ftDevice ) : System
GetQueueStatus ( ) : uint
ReadAsync ( byte buffer, uint bytesInQueue ) : Task>
SetConnectionSettings ( DeviceConnection connectionSettings ) : System.Threading.Tasks.Task
WriteAsync ( byte bytesToWrite, uint nrBytesToWrite ) : Task

비공개 메소드들

메소드 설명
GetFlowControl ( SerialHandshake handshake ) : FLOW_CONTROL
GetParity ( SerialParity parity ) : PARITY
GetStopBits ( SerialStopBitCount stopBits ) : STOP_BITS
GetWordLength ( ushort dataBits ) : WORD_LENGTH

메소드 상세

FtdiSerialDevice() 공개 메소드

public FtdiSerialDevice ( IFTDevice ftDevice ) : System
ftDevice IFTDevice
리턴 System

GetQueueStatus() 공개 메소드

public GetQueueStatus ( ) : uint
리턴 uint

ReadAsync() 공개 메소드

public ReadAsync ( byte buffer, uint bytesInQueue ) : Task>
buffer byte
bytesInQueue uint
리턴 Task>

SetConnectionSettings() 공개 메소드

public SetConnectionSettings ( DeviceConnection connectionSettings ) : System.Threading.Tasks.Task
connectionSettings DeviceConnection
리턴 System.Threading.Tasks.Task

WriteAsync() 공개 메소드

public WriteAsync ( byte bytesToWrite, uint nrBytesToWrite ) : Task
bytesToWrite byte
nrBytesToWrite uint
리턴 Task