//-----------------------------------------------------------------------
//
// Copyright © 2012 Nils Hammar and Future Technology Devices International Limited. All rights reserved.
//
//-----------------------------------------------------------------------
namespace FtdiApi
{
///
/// EEPROM structure specific to FT2232C, FT2232L and FT2232D devices.
/// Inherits from FT_EEPROM_DATA.
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1401:FieldsMustBePrivate", Justification = "Reviewed.")]
public class FT2232_EEPROM_STRUCTURE : FT_EEPROM_DATA
{
//// private bool Rev5 = true;
//// private bool IsoInA = false;
//// private bool IsoInB = false;
//// private bool IsoOutA = false;
//// private bool IsoOutB = false;
///
/// Determines if IOs are pulled down when the device is in suspend
///
public bool PullDownEnable = false;
///
/// Determines if the serial number is enabled
///
public bool SerNumEnable = true;
///
/// Determines if the USB version number is enabled
///
public bool USBVersionEnable = true;
///
/// The USB version number. Should be either 0x0110 (USB 1.1) or 0x0200 (USB 2.0)
///
public ushort USBVersion = 0x0200;
///
/// Enables high current IOs on channel A
///
public bool AIsHighCurrent = false;
///
/// Enables high current IOs on channel B
///
public bool BIsHighCurrent = false;
///
/// Determines if channel A is in FIFO mode
///
public bool IFAIsFifo = false;
///
/// Determines if channel A is in FIFO target mode
///
public bool IFAIsFifoTar = false;
///
/// Determines if channel A is in fast serial mode
///
public bool IFAIsFastSer = false;
///
/// Determines if channel A loads the VCP driver
///
public bool AIsVCP = true;
///
/// Determines if channel B is in FIFO mode
///
public bool IFBIsFifo = false;
///
/// Determines if channel B is in FIFO target mode
///
public bool IFBIsFifoTar = false;
///
/// Determines if channel B is in fast serial mode
///
public bool IFBIsFastSer = false;
///
/// Determines if channel B loads the VCP driver
///
public bool BIsVCP = true;
}
}