public final class FTeeprom2232 extends FTeepromHeader
Represents the C structure 'ft_eeprom_2232' declared in ftd2xx.h header file.
| Constructor and Description |
|---|
FTeeprom2232(int[] data)
Construct and allocates a new FTeeprom2232 object with given details.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getADriverType()
Retrieves the value of ADriverType variable (driver options) in ft_eeprom_2232 structure.
|
int |
getAIsFastSer()
Retrieves the value of AIsFifo variable (hardware options) in ft_eeprom_2232 structure.
|
int |
getAIsFifo()
Retrieves the value of AIsFifo variable (hardware options) in ft_eeprom_2232 structure.
|
int |
getAIsFifoTar()
Retrieves the value of AIsFifoTar variable (hardware options) in ft_eeprom_2232 structure.
|
int |
getAIsHighCurrent()
Retrieves the value of AIsHighCurrent variable (drive options) in ft_eeprom_2232 structure.
|
int[] |
getAllMembers()
Retrieves all the value defined for ft_eeprom_header and ft_eeprom_2232 structures.
|
int |
getBDriverType()
Retrieves the value of BDriverType variable (driver options) in ft_eeprom_2232 structure.
|
int |
getBIsFastSer()
Retrieves the value of AIsFifo variable (hardware options) in ft_eeprom_2232 structure.
|
int |
getBIsFifo()
Retrieves the value of BIsFifo variable (hardware options) in ft_eeprom_2232 structure.
|
int |
getBIsFifoTar()
Retrieves the value of BIsFifoTar variable (hardware options) in ft_eeprom_2232 structure.
|
int |
getBIsHighCurrent()
Retrieves the value of BIsHighCurrent variable (drive options) in ft_eeprom_2232 structure.
|
getDeviceType, getMaxPower, getProductID, getPullDownEnable, getRemoteWakeup, getSelfPowered, getSerNumEnable, getVendorIDpublic FTeeprom2232(int[] data)
Construct and allocates a new FTeeprom2232 object with given details.
The sequence of values must be defined in following order: deviceType, VendorId, ProductId, SerNumEnable, MaxPower, SelfPowered, RemoteWakeup, PullDownEnable, AIsHighCurrent, BIsHighCurrent, AIsFifo, AIsFifoTar, AIsFastSer, BIsFifo, BIsFifoTar, BIsFastSer, ADriverType, BDriverType 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 18 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 18.public int getAIsHighCurrent()
Retrieves the value of AIsHighCurrent variable (drive options) in ft_eeprom_2232 structure.
public int getBIsHighCurrent()
Retrieves the value of BIsHighCurrent variable (drive options) in ft_eeprom_2232 structure.
public int getAIsFifo()
Retrieves the value of AIsFifo variable (hardware options) in ft_eeprom_2232 structure.
public int getAIsFifoTar()
Retrieves the value of AIsFifoTar variable (hardware options) in ft_eeprom_2232 structure.
public int getAIsFastSer()
Retrieves the value of AIsFifo variable (hardware options) in ft_eeprom_2232 structure.
public int getBIsFifo()
Retrieves the value of BIsFifo variable (hardware options) in ft_eeprom_2232 structure.
public int getBIsFifoTar()
Retrieves the value of BIsFifoTar variable (hardware options) in ft_eeprom_2232 structure.
public int getBIsFastSer()
Retrieves the value of AIsFifo variable (hardware options) in ft_eeprom_2232 structure.
public int getADriverType()
Retrieves the value of ADriverType variable (driver options) in ft_eeprom_2232 structure.
public int getBDriverType()
Retrieves the value of BDriverType variable (driver options) in ft_eeprom_2232 structure.
public int[] getAllMembers()
Retrieves all the value defined for ft_eeprom_header and ft_eeprom_2232 structures.
Copyright © 2017. All rights reserved.