public final class FTeepromXseries extends FTeepromHeader
Represents the C structure 'ft_eeprom_x_series' declared in ftd2xx.h header file.
| Constructor and Description |
|---|
FTeepromXseries(int[] data)
Construct and allocates a new FTeeprom232R object with given details.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getACDriveCurrent()
Retrieves the value of ACDriveCurrent variable (drive options) in ft_eeprom_x_series structure.
|
int |
getACSchmittInput()
Retrieves the value of ACSchmittInput variable (drive options) in ft_eeprom_x_series structure.
|
int |
getACSlowSlew()
Retrieves the value of ACSlowSlew variable (drive options) in ft_eeprom_x_series structure.
|
int |
getADDriveCurrent()
Retrieves the value of ADDriveCurrent variable (drive options) in ft_eeprom_x_series structure.
|
int |
getADriverType()
Retrieves the value of DriverType variable (driver options) in ft_eeprom_x_series structure.
|
int |
getADSchmittInput()
Retrieves the value of ADSchmittInput variable (drive options) in ft_eeprom_x_series structure.
|
int |
getADSlowSlew()
Retrieves the value of ADSlowSlew variable (drive options) in ft_eeprom_x_series structure.
|
int[] |
getAllMembers()
Retrieves all the value defined for ft_eeprom_header and ft_eeprom_x_series structures.
|
int |
getBCDDisableSleep()
Retrieves the value of BCDDisableSleep variable (battery charge detect options) in
ft_eeprom_x_series structure.
|
int |
getBCDEnable()
Retrieves the value of BCDEnable variable (battery charge detect options) in
ft_eeprom_x_series structure.
|
int |
getBCDForceCbusPWREN()
Retrieves the value of BCDForceCbusPWREN variable (battery charge detect options)
in ft_eeprom_x_series structure.
|
int |
getCbus0()
Retrieves the value of Cbus0 variable (CBUS options) in ft_eeprom_x_series structure.
|
int |
getCbus1()
Retrieves the value of Cbus1 variable (CBUS options) in ft_eeprom_x_series structure.
|
int |
getCbus2()
Retrieves the value of Cbus2 variable (CBUS options) in ft_eeprom_x_series structure.
|
int |
getCbus3()
Retrieves the value of Cbus3 variable (CBUS options) in ft_eeprom_x_series structure.
|
int |
getCbus4()
Retrieves the value of Cbus4 variable (CBUS options) in ft_eeprom_x_series structure.
|
int |
getCbus5()
Retrieves the value of Cbus5 variable (CBUS options) in ft_eeprom_x_series structure.
|
int |
getCbus6()
Retrieves the value of Cbus6 variable (CBUS options) in ft_eeprom_x_series structure.
|
int |
getFT1248Cpol()
Retrieves the value of FT1248Cpol variable (FT1248 options) in ft_eeprom_x_series structure.
|
int |
getFT1248FlowControl()
Retrieves the value of FT1248FlowControl variable (FT1248 options) in ft_eeprom_x_series structure.
|
int |
getFT1248Lsb()
Retrieves the value of FT1248Lsb variable (FT1248 options) in ft_eeprom_x_series structure.
|
int |
getI2CDeviceId()
Retrieves the value of I2CDeviceId variable (I2C options) in ft_eeprom_x_series structure.
|
int |
getI2CDisableSchmitt()
Retrieves the value of I2CDisableSchmitt variable (I2C options) in ft_eeprom_x_series structure.
|
int |
getI2CSlaveAddress()
Retrieves the value of I2CSlaveAddress variable (I2C options) in ft_eeprom_x_series structure.
|
int |
getInvertCTS()
Retrieves the value of InvertCTS variable (UART signal options) in ft_eeprom_x_series structure.
|
int |
getInvertDCD()
Retrieves the value of InvertDCD variable (UART signal options) in ft_eeprom_x_series structure.
|
int |
getInvertDSR()
Retrieves the value of InvertDSR variable (UART signal options) in ft_eeprom_x_series structure.
|
int |
getInvertDTR()
Retrieves the value of InvertDTR variable (UART signal options) in ft_eeprom_x_series structure.
|
int |
getInvertRI()
Retrieves the value of InvertRI variable (UART signal options) in ft_eeprom_x_series structure.
|
int |
getInvertRTS()
Retrieves the value of InvertRTS variable (UART signal options) in ft_eeprom_x_series structure.
|
int |
getInvertRXD()
Retrieves the value of InvertRXD variable (UART signal options) in ft_eeprom_x_series structure.
|
int |
getInvertTXD()
Retrieves the value of InvertTXD variable (UART signal options) in ft_eeprom_x_series structure.
|
int |
getPowerSaveEnable()
Retrieves the value of PowerSaveEnable variable (hardware options) in ft_eeprom_x_series structure.
|
int |
getRS485EchoSuppress()
Retrieves the value of RS485EchoSuppress variable (hardware options) in ft_eeprom_x_series structure.
|
getDeviceType, getMaxPower, getProductID, getPullDownEnable, getRemoteWakeup, getSelfPowered, getSerNumEnable, getVendorIDpublic FTeepromXseries(int[] data)
Construct and allocates a new FTeeprom232R object with given details.
The sequence of values must be defined in following order: deviceType, VendorId, ProductId, SerNumEnable, MaxPower, SelfPowered, RemoteWakeup, PullDownEnable, ACSlowSlew, ACSchmittInput, ACDriveCurrent, ADSlowSlew, ADSchmittInput, ADDriveCurrent, Cbus0, Cbus1, Cbus2, Cbus3, Cbus4, Cbus5, Cbus6, InvertTXD, InvertRXD, InvertRTS, InvertCTS, InvertDTR, InvertDSR, InvertDCD, InvertRI, BCDEnable, BCDForceCbusPWREN, BCDDisableSleep, I2CSlaveAddress, I2CDeviceId, I2CDisableSchmitt, FT1248Cpol, FT1248Lsb, FT1248FlowControl, RS485EchoSuppress, PowerSaveEnable, DriverType respectively.
Values should be initialized when instantiating this object for writing purpose. For reading purpose there is no need to initialize.
If the class is instantiated for writing purpose, the size of data array must be 24 and each member (value at index) must be initialized to a valid value. Although all members are of 'int data type' but deviceType must be one of the constants FT_DEVICE_XXXX, VendorId and ProductId must use lower 16 bit only, rest all the members should be 8 bit value (upper 24 bits must be all 0).
data - array containing values of member variables for C structure.IllegalArgumentException - if data is null or its size is not equal to 41.public int getACSlowSlew()
Retrieves the value of ACSlowSlew variable (drive options) in ft_eeprom_x_series structure.
public int getACSchmittInput()
Retrieves the value of ACSchmittInput variable (drive options) in ft_eeprom_x_series structure.
public int getACDriveCurrent()
Retrieves the value of ACDriveCurrent variable (drive options) in ft_eeprom_x_series structure.
public int getADSlowSlew()
Retrieves the value of ADSlowSlew variable (drive options) in ft_eeprom_x_series structure.
public int getADSchmittInput()
Retrieves the value of ADSchmittInput variable (drive options) in ft_eeprom_x_series structure.
public int getADDriveCurrent()
Retrieves the value of ADDriveCurrent variable (drive options) in ft_eeprom_x_series structure.
public int getCbus0()
Retrieves the value of Cbus0 variable (CBUS options) in ft_eeprom_x_series structure.
public int getCbus1()
Retrieves the value of Cbus1 variable (CBUS options) in ft_eeprom_x_series structure.
public int getCbus2()
Retrieves the value of Cbus2 variable (CBUS options) in ft_eeprom_x_series structure.
public int getCbus3()
Retrieves the value of Cbus3 variable (CBUS options) in ft_eeprom_x_series structure.
public int getCbus4()
Retrieves the value of Cbus4 variable (CBUS options) in ft_eeprom_x_series structure.
public int getCbus5()
Retrieves the value of Cbus5 variable (CBUS options) in ft_eeprom_x_series structure.
public int getCbus6()
Retrieves the value of Cbus6 variable (CBUS options) in ft_eeprom_x_series structure.
public int getInvertTXD()
Retrieves the value of InvertTXD variable (UART signal options) in ft_eeprom_x_series structure.
public int getInvertRXD()
Retrieves the value of InvertRXD variable (UART signal options) in ft_eeprom_x_series structure.
public int getInvertRTS()
Retrieves the value of InvertRTS variable (UART signal options) in ft_eeprom_x_series structure.
public int getInvertCTS()
Retrieves the value of InvertCTS variable (UART signal options) in ft_eeprom_x_series structure.
public int getInvertDTR()
Retrieves the value of InvertDTR variable (UART signal options) in ft_eeprom_x_series structure.
public int getInvertDSR()
Retrieves the value of InvertDSR variable (UART signal options) in ft_eeprom_x_series structure.
public int getInvertDCD()
Retrieves the value of InvertDCD variable (UART signal options) in ft_eeprom_x_series structure.
public int getInvertRI()
Retrieves the value of InvertRI variable (UART signal options) in ft_eeprom_x_series structure.
public int getBCDEnable()
Retrieves the value of BCDEnable variable (battery charge detect options) in ft_eeprom_x_series structure.
public int getBCDForceCbusPWREN()
Retrieves the value of BCDForceCbusPWREN variable (battery charge detect options) in ft_eeprom_x_series structure.
public int getBCDDisableSleep()
Retrieves the value of BCDDisableSleep variable (battery charge detect options) in ft_eeprom_x_series structure.
public int getI2CSlaveAddress()
Retrieves the value of I2CSlaveAddress variable (I2C options) in ft_eeprom_x_series structure.
public int getI2CDeviceId()
Retrieves the value of I2CDeviceId variable (I2C options) in ft_eeprom_x_series structure.
public int getI2CDisableSchmitt()
Retrieves the value of I2CDisableSchmitt variable (I2C options) in ft_eeprom_x_series structure.
public int getFT1248Cpol()
Retrieves the value of FT1248Cpol variable (FT1248 options) in ft_eeprom_x_series structure.
public int getFT1248Lsb()
Retrieves the value of FT1248Lsb variable (FT1248 options) in ft_eeprom_x_series structure.
public int getFT1248FlowControl()
Retrieves the value of FT1248FlowControl variable (FT1248 options) in ft_eeprom_x_series structure.
public int getRS485EchoSuppress()
Retrieves the value of RS485EchoSuppress variable (hardware options) in ft_eeprom_x_series structure.
public int getPowerSaveEnable()
Retrieves the value of PowerSaveEnable variable (hardware options) in ft_eeprom_x_series structure.
public int getADriverType()
Retrieves the value of DriverType variable (driver options) in ft_eeprom_x_series structure.
public int[] getAllMembers()
Retrieves all the value defined for ft_eeprom_header and ft_eeprom_x_series structures.
Copyright © 2017. All rights reserved.