
int data=0x55, data2;
InitLib(); /* Initiate the 7188xc library */
EE_WriteEnable();
EE_MultiWrite(1, 10, 1, &data);
EE_WriteProtect();
EE_MultiRead(1, 10, 1, &data2); /* now data2=data=0x55 */
Note:
To write an integer to EEPROM, the
EE_WriteEnable()
function
must be called twice, in the same manner as writing data to NVRAM.
Refer to the demo programs in the
CD:\Napdos\7188XABC\7188XC\Demo\BC_TC\Memory folder for more
information.
I-7188XC Series User’s Manual(Ver.1.0, Apr/2007,7MH-21-10) ---
63
Summary of Contents for I-7188XC Series
Page 87: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 87...
Page 136: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 136...
Page 142: ...Step 8 Make the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 142...
Page 149: ...Step 8 Rebuild the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 149...