C# Class Optifert.FTDI

Afficher le fichier Open project: pa3gsb/RadioBerry

Méthodes publiques

Свойство Type Description
Instance FTDI

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

I2Cread() public méthode

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
Résultat uint

I2Cwrite() public méthode

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
Résultat uint

Init() public méthode

public Init ( uint channel ) : int
channel uint
Résultat int

clearGPIO() public méthode

public clearGPIO ( byte pin ) : uint
pin byte
Résultat uint

close() public méthode

public close ( ) : uint
Résultat uint

connectionState() public méthode

public connectionState ( ) : int
Résultat int

isConnected() public méthode

public isConnected ( ) : bool
Résultat bool

readGPIO() public méthode

public readGPIO ( byte &value ) : uint
value byte
Résultat uint

setGPIO() public méthode

public setGPIO ( byte pin ) : uint
pin byte
Résultat uint

setGPIOdir() public méthode

public setGPIOdir ( byte pin, byte dir ) : uint
pin byte
dir byte
Résultat uint

Property Details

Instance public_oe static_oe property

public static FTDI,Optifert Instance
Résultat FTDI