public final class FTeeprom232R extends FTeepromHeader
Represents the C structure 'ft_eeprom_232r' declared in ftd2xx.h header file.
| Constructor and Description |
|---|
FTeeprom232R(int[] data)
Construct and allocates a new FTeeprom232R object with given details.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getAllMembers()
Retrieves all the value defined for ft_eeprom_header and ft_eeprom_232h structures.
|
int |
getCbus0()
Retrieves the value of Cbus0 variable (hardware options) in ft_eeprom_232r structure.
|
int |
getCbus1()
Retrieves the value of Cbus1 variable (hardware options) in ft_eeprom_232r structure.
|
int |
getCbus2()
Retrieves the value of Cbus2 variable (hardware options) in ft_eeprom_232r structure.
|
int |
getCbus3()
Retrieves the value of Cbus3 variable (hardware options) in ft_eeprom_232r structure.
|
int |
getCbus4()
Retrieves the value of Cbus4 variable (hardware options) in ft_eeprom_232r structure.
|
int |
getDriverType()
Retrieves the value of DriverType variable (hardware options) in ft_eeprom_232r structure.
|
int |
getInvertCTS()
Retrieves the value of InvertCTS variable (hardware options) in ft_eeprom_232r structure.
|
int |
getInvertDCD()
Retrieves the value of InvertDCD variable (hardware options) in ft_eeprom_232r structure.
|
int |
getInvertDSR()
Retrieves the value of InvertDSR variable (hardware options) in ft_eeprom_232r structure.
|
int |
getInvertDTR()
Retrieves the value of InvertDTR variable (hardware options) in ft_eeprom_232r structure.
|
int |
getInvertRI()
Retrieves the value of InvertRI variable (hardware options) in ft_eeprom_232r structure.
|
int |
getInvertRTS()
Retrieves the value of InvertRTS variable (hardware options) in ft_eeprom_232r structure.
|
int |
getInvertRXD()
Retrieves the value of InvertRXD variable (hardware options) in ft_eeprom_232r structure.
|
int |
getInvertTXD()
Retrieves the value of InvertTXD variable (hardware options) in ft_eeprom_232r structure.
|
int |
getIsHighCurrent()
Retrieves the value of IsHighCurrent variable (drive options) in ft_eeprom_232r structure.
|
int |
getUseExtOsc()
Retrieves the value of UseExtOsc variable (hardware options) in ft_eeprom_232r structure.
|
getDeviceType, getMaxPower, getProductID, getPullDownEnable, getRemoteWakeup, getSelfPowered, getSerNumEnable, getVendorIDpublic FTeeprom232R(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, IsHighCurrent, useUseExtOsc, InvertTXD, InvertRXD, InvertRTS, InvertCTS, InvertDTR, InvertDSR, InvertDCD, InvertRI, Cbus0, Cbus1, Cbus2, Cbus3, Cbus4, 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 24.public int getIsHighCurrent()
Retrieves the value of IsHighCurrent variable (drive options) in ft_eeprom_232r structure.
public int getUseExtOsc()
Retrieves the value of UseExtOsc variable (hardware options) in ft_eeprom_232r structure.
public int getInvertTXD()
Retrieves the value of InvertTXD variable (hardware options) in ft_eeprom_232r structure.
public int getInvertRXD()
Retrieves the value of InvertRXD variable (hardware options) in ft_eeprom_232r structure.
public int getInvertRTS()
Retrieves the value of InvertRTS variable (hardware options) in ft_eeprom_232r structure.
public int getInvertCTS()
Retrieves the value of InvertCTS variable (hardware options) in ft_eeprom_232r structure.
public int getInvertDTR()
Retrieves the value of InvertDTR variable (hardware options) in ft_eeprom_232r structure.
public int getInvertDSR()
Retrieves the value of InvertDSR variable (hardware options) in ft_eeprom_232r structure.
public int getInvertDCD()
Retrieves the value of InvertDCD variable (hardware options) in ft_eeprom_232r structure.
public int getInvertRI()
Retrieves the value of InvertRI variable (hardware options) in ft_eeprom_232r structure.
public int getCbus0()
Retrieves the value of Cbus0 variable (hardware options) in ft_eeprom_232r structure.
public int getCbus1()
Retrieves the value of Cbus1 variable (hardware options) in ft_eeprom_232r structure.
public int getCbus2()
Retrieves the value of Cbus2 variable (hardware options) in ft_eeprom_232r structure.
public int getCbus3()
Retrieves the value of Cbus3 variable (hardware options) in ft_eeprom_232r structure.
public int getCbus4()
Retrieves the value of Cbus4 variable (hardware options) in ft_eeprom_232r structure.
public int getDriverType()
Retrieves the value of DriverType variable (hardware options) in ft_eeprom_232r structure.
public int[] getAllMembers()
Retrieves all the value defined for ft_eeprom_header and ft_eeprom_232h structures.
Copyright © 2017. All rights reserved.