Exemple #1
0
        public void WriteEEPROM(ftdi_eeprom eeprom)
        {
            byte[] data = new byte[128];

            ftdi_eeprom.ftdi_eeprom_build(ref eeprom, ref data);

            CheckRet(ftdi_write_eeprom(ref ftdi, ref data));
        }
Exemple #2
0
 [DllImport("libftdi.so.0")] internal static extern void ftdi_eeprom_initdefaults(out ftdi_eeprom eeprom);
Exemple #3
0
 // init and build eeprom from ftdi_eeprom structure
 [DllImport("libftdi.so.0")] internal static extern int ftdi_eeprom_build(ref ftdi_eeprom eeprom, ref byte[] output);