C# 클래스 Optifert.FTDI

파일 보기 프로젝트 열기: pa3gsb/RadioBerry

공개 프로퍼티들

프로퍼티 타입 설명
Instance FTDI

공개 메소드들

메소드 설명
I2Cread ( UInt32 deviceAddress, UInt32 sizeToTransfer, byte buffer, UInt32 &sizeTransfered, UInt32 options ) : uint
I2Cwrite ( UInt32 deviceAddress, UInt32 sizeToTransfer, byte buffer, UInt32 &sizeTransfered, UInt32 options ) : uint
Init ( uint channel ) : int
clearGPIO ( byte pin ) : uint
close ( ) : uint
connectionState ( ) : int
isConnected ( ) : bool
readGPIO ( byte &value ) : uint
setGPIO ( byte pin ) : uint
setGPIOdir ( byte pin, byte dir ) : uint

비공개 메소드들

메소드 설명
FT_ReadGPIO ( IntPtr handler, byte &value ) : uint
FT_WriteGPIO ( IntPtr handler, byte dir, byte value ) : uint
I2C_CloseChannel ( IntPtr handler ) : uint
I2C_DeviceRead ( IntPtr handler, UInt32 deviceAddress, UInt32 sizeToTransfer, byte buffer, UInt32 &sizeTransfered, UInt32 options ) : uint
I2C_DeviceWrite ( IntPtr handler, UInt32 deviceAddress, UInt32 sizeToTransfer, byte buffer, UInt32 &sizeTransfered, UInt32 options ) : uint
I2C_GetNumChannels ( uint &NumChannels ) : uint
I2C_InitChannel ( IntPtr handler, ChannelCfg &config ) : uint
I2C_OpenChannel ( uint index, IntPtr &handler ) : uint
Init_libMPSSE ( ) : void

메소드 상세

I2Cread() 공개 메소드

public I2Cread ( UInt32 deviceAddress, UInt32 sizeToTransfer, byte buffer, UInt32 &sizeTransfered, UInt32 options ) : uint
deviceAddress System.UInt32
sizeToTransfer System.UInt32
buffer byte
sizeTransfered System.UInt32
options System.UInt32
리턴 uint

I2Cwrite() 공개 메소드

public I2Cwrite ( UInt32 deviceAddress, UInt32 sizeToTransfer, byte buffer, UInt32 &sizeTransfered, UInt32 options ) : uint
deviceAddress System.UInt32
sizeToTransfer System.UInt32
buffer byte
sizeTransfered System.UInt32
options System.UInt32
리턴 uint

Init() 공개 메소드

public Init ( uint channel ) : int
channel uint
리턴 int

clearGPIO() 공개 메소드

public clearGPIO ( byte pin ) : uint
pin byte
리턴 uint

close() 공개 메소드

public close ( ) : uint
리턴 uint

connectionState() 공개 메소드

public connectionState ( ) : int
리턴 int

isConnected() 공개 메소드

public isConnected ( ) : bool
리턴 bool

readGPIO() 공개 메소드

public readGPIO ( byte &value ) : uint
value byte
리턴 uint

setGPIO() 공개 메소드

public setGPIO ( byte pin ) : uint
pin byte
리턴 uint

setGPIOdir() 공개 메소드

public setGPIOdir ( byte pin, byte dir ) : uint
pin byte
dir byte
리턴 uint

프로퍼티 상세

Instance 공개적으로 정적으로 프로퍼티

public static FTDI,Optifert Instance
리턴 FTDI