//----------------------------------------------------------------------- // // Copyright © 2012 Nils Hammar and Future Technology Devices International Limited. All rights reserved. // //----------------------------------------------------------------------- namespace FtdiApi { using global::FtdiApi.Constants; /// /// EEPROM structure specific to FT2232H devices. /// Inherits from FT_EEPROM_DATA. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1401:FieldsMustBePrivate", Justification = "Reviewed.")] public class FT2232H_EEPROM_STRUCTURE : FT_EEPROM_DATA { /// /// 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 AL pins have a slow slew rate /// public bool ALSlowSlew = false; /// /// Determines if the AL pins have a Schmitt input /// public bool ALSchmittInput = false; /// /// Determines the AL pins drive current in mA. Valid values are FT_DRIVE_CURRENT_4MA, FT_DRIVE_CURRENT_8MA, FT_DRIVE_CURRENT_12MA or FT_DRIVE_CURRENT_16MA /// public byte ALDriveCurrent = FT_DRIVE_CURRENT.FT_DRIVE_CURRENT_4MA; /// /// Determines if AH pins have a slow slew rate /// public bool AHSlowSlew = false; /// /// Determines if the AH pins have a Schmitt input /// public bool AHSchmittInput = false; /// /// Determines the AH pins drive current in mA. Valid values are FT_DRIVE_CURRENT_4MA, FT_DRIVE_CURRENT_8MA, FT_DRIVE_CURRENT_12MA or FT_DRIVE_CURRENT_16MA /// public byte AHDriveCurrent = FT_DRIVE_CURRENT.FT_DRIVE_CURRENT_4MA; /// /// Determines if BL pins have a slow slew rate /// public bool BLSlowSlew = false; /// /// Determines if the BL pins have a Schmitt input /// public bool BLSchmittInput = false; /// /// Determines the BL pins drive current in mA. Valid values are FT_DRIVE_CURRENT_4MA, FT_DRIVE_CURRENT_8MA, FT_DRIVE_CURRENT_12MA or FT_DRIVE_CURRENT_16MA /// public byte BLDriveCurrent = FT_DRIVE_CURRENT.FT_DRIVE_CURRENT_4MA; /// /// Determines if BH pins have a slow slew rate /// public bool BHSlowSlew = false; /// /// Determines if the BH pins have a Schmitt input /// public bool BHSchmittInput = false; /// /// Determines the BH pins drive current in mA. Valid values are FT_DRIVE_CURRENT_4MA, FT_DRIVE_CURRENT_8MA, FT_DRIVE_CURRENT_12MA or FT_DRIVE_CURRENT_16MA /// public byte BHDriveCurrent = FT_DRIVE_CURRENT.FT_DRIVE_CURRENT_4MA; /// /// 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; /// /// For self-powered designs, keeps the FT2232H in low power state until BCBUS7 is high /// public bool PowerSaveEnable = false; } }