FT_EE_Program

Function FT_EE_Program 

Source
pub unsafe extern "C" fn FT_EE_Program(
    ftHandle: FT_HANDLE,
    pData: PFT_PROGRAM_DATA,
) -> FT_STATUS
Expand description

@noop FT_EE_Program @par Supported Operating Systems Linux Mac OS X (10.4 and later) Windows (2000 and later) Windows CE (4.2 and later) @par Summary Program the EEPROM. @param ftHandle Handle of the device. @param pData Pointer to structure of type FT_PROGRAM_DATA. @returns FT_OK if successful, otherwise the return value is an FT error code. @remarks This function interprets the parameter pData as a pointer to a structure of type FT_PROGRAM_DATA that contains the data to write to the EEPROM. The data is written to EEPROM, then read back and verified. @n If the SerialNumber field in FT_PROGRAM_DATA is NULL, or SerialNumber points to a NULL string, a serial number based on the ManufacturerId and the current date and time will be generated. The Manufacturer string length plus the Description string length must be less than or equal to 40 characters. @note Note that the DLL must be informed which version of the FT_PROGRAM_DATA structure is being used. This is done through the Signature1, Signature2 and Version elements of the structure. Signature1 should always be 0x00000000, Signature2 should always be 0xFFFFFFFF and Version can be set to use whichever version is required. For compatibility with all current devices Version should be set to the latest version of the FT_PROGRAM_DATA structure which is defined in FTD2XX.h. If pData is NULL, the structure version will default to 0 (original BM series) and the device will be programmed with the default data. @see FT_PROGRAM_DATA