public class FTeepromHeader extends FTeepromData
Represents the C structure 'ft_eeprom_header' declared in ftd2xx.h header file.
| Constructor and Description |
|---|
FTeepromHeader(int[] data)
Construct and allocates a new FTeepromHeader object with given details.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDeviceType()
Retrieves the value of deviceType variable in ft_eeprom_header structure.
|
int |
getMaxPower()
Retrieves the value of MaxPower variable (config descriptor options) in ft_eeprom_header structure.
|
int |
getProductID()
Retrieves the value of ProductId variable (device descriptor options) in ft_eeprom_header structure.
|
int |
getPullDownEnable()
Retrieves the value of PullDownEnable variable (hardware options) in ft_eeprom_header structure.
|
int |
getRemoteWakeup()
Retrieves the value of RemoteWakeup variable (config descriptor options) in ft_eeprom_header structure.
|
int |
getSelfPowered()
Retrieves the value of SelfPowered variable (config descriptor options) in ft_eeprom_header structure.
|
int |
getSerNumEnable()
Retrieves the value of SerNumEnable variable (device descriptor options) in ft_eeprom_header structure.
|
int |
getVendorID()
Retrieves the value of VendorId variable (device descriptor options) in ft_eeprom_header structure.
|
public FTeepromHeader(int[] data)
Construct and allocates a new FTeepromHeader object with given details.
This class must not be instantiated directly but one of the subclasses must be used to populate correct values.
data - values of member variables in C structure.public final int getDeviceType()
Retrieves the value of deviceType variable in ft_eeprom_header structure.
public final int getVendorID()
Retrieves the value of VendorId variable (device descriptor options) in ft_eeprom_header structure.
public final int getProductID()
Retrieves the value of ProductId variable (device descriptor options) in ft_eeprom_header structure.
public final int getSerNumEnable()
Retrieves the value of SerNumEnable variable (device descriptor options) in ft_eeprom_header structure.
public final int getMaxPower()
Retrieves the value of MaxPower variable (config descriptor options) in ft_eeprom_header structure.
public final int getSelfPowered()
Retrieves the value of SelfPowered variable (config descriptor options) in ft_eeprom_header structure.
public final int getRemoteWakeup()
Retrieves the value of RemoteWakeup variable (config descriptor options) in ft_eeprom_header structure.
public final int getPullDownEnable()
Retrieves the value of PullDownEnable variable (hardware options) in ft_eeprom_header structure.
Copyright © 2016. All rights reserved.