//-----------------------------------------------------------------------
//
// Copyright © 2012 Nils Hammar and Future Technology Devices International Limited. All rights reserved.
//
//-----------------------------------------------------------------------
namespace FtdiApi
{
using global::FtdiApi.Constants;
///
/// EEPROM structure specific to FT4232H devices.
/// Inherits from FT_EEPROM_DATA.
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1401:FieldsMustBePrivate", Justification = "Reviewed.")]
public class FT4232H_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 A pins have a slow slew rate
///
public bool ASlowSlew = false;
///
/// Determines if the A pins have a Schmitt input
///
public bool ASchmittInput = false;
///
/// Determines the A 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 ADriveCurrent = FT_DRIVE_CURRENT.FT_DRIVE_CURRENT_4MA;
///
/// Determines if B pins have a slow slew rate
///
public bool BSlowSlew = false;
///
/// Determines if the B pins have a Schmitt input
///
public bool BSchmittInput = false;
///
/// Determines the B 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 BDriveCurrent = FT_DRIVE_CURRENT.FT_DRIVE_CURRENT_4MA;
///
/// Determines if C pins have a slow slew rate
///
public bool CSlowSlew = false;
///
/// Determines if the C pins have a Schmitt input
///
public bool CSchmittInput = false;
///
/// Determines the C 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 CDriveCurrent = FT_DRIVE_CURRENT.FT_DRIVE_CURRENT_4MA;
///
/// Determines if D pins have a slow slew rate
///
public bool DSlowSlew = false;
///
/// Determines if the D pins have a Schmitt input
///
public bool DSchmittInput = false;
///
/// Determines the D 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 DDriveCurrent = FT_DRIVE_CURRENT.FT_DRIVE_CURRENT_4MA;
///
/// RI of port A acts as RS485 transmit enable (TXDEN)
///
public bool ARIIsTXDEN = false;
///
/// RI of port B acts as RS485 transmit enable (TXDEN)
///
public bool BRIIsTXDEN = false;
///
/// RI of port C acts as RS485 transmit enable (TXDEN)
///
public bool CRIIsTXDEN = false;
///
/// RI of port D acts as RS485 transmit enable (TXDEN)
///
public bool DRIIsTXDEN = false;
///
/// Determines if channel A loads the VCP driver
///
public bool AIsVCP = true;
///
/// Determines if channel B loads the VCP driver
///
public bool BIsVCP = true;
///
/// Determines if channel C loads the VCP driver
///
public bool CIsVCP = true;
///
/// Determines if channel D loads the VCP driver
///
public bool DIsVCP = true;
}
}