//----------------------------------------------------------------------- // // Copyright © 2012 Nils Hammar and Future Technology Devices International Limited. All rights reserved. // //----------------------------------------------------------------------- namespace FtdiApi { /// /// Common EEPROM elements for all devices. Inherited to specific device type EEPROMs. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1401:FieldsMustBePrivate", Justification = "Reviewed.")] public abstract class FT_EEPROM_DATA { //// private const uint Signature1 = 0x00000000; //// private const uint Signature2 = 0xFFFFFFFF; //// private const uint Version = 0x00000002; /// /// Vendor ID as supplied by the USB Implementers Forum /// public ushort VendorID = 0x0403; /// /// Product ID /// public ushort ProductID = 0x6001; /// /// Manufacturer name string /// public string Manufacturer = "FTDI"; /// /// Manufacturer name abbreviation to be used as a prefix for automatically generated serial numbers /// public string ManufacturerID = "FT"; /// /// Device description string /// public string Description = "USB-Serial Converter"; /// /// Device serial number string /// public string SerialNumber = string.Empty; /// /// Maximum power the device needs /// public ushort MaxPower = 0x0090; ////private bool PnP = true; /// /// Indicates if the device has its own power supply (self-powered) or gets power from the USB port (bus-powered) /// public bool SelfPowered = false; /// /// Determines if the device can wake the host PC from suspend by toggling the RI line /// public bool RemoteWakeup = false; } }