I-7188XA Series User’s Manual ( Ver1.2, Feb/2014, 7MH-019-10 ) ---
111
Type 3: EEPROM
Function
Description
EE_WriteEnable Sets the EEPROM to write-enable mode
EE_MultiWrite
Writes data to the EEPROM
EE_WriteProtect Sets the EEPROM to write-protect mode
EE_MultiRead
Reads data from the EEPROM
…More…
There are many other user functions related to
EEPROM. Please refer to the 7188xa.h header file
and the user manual on the enclosed CD, which can
be found at
CD:\Napdos\MiniOS7\document\Lib_Manual_For_7188XABC\ind
ex.htm
for more detailed information.
EE_WriteEnable ()
Function: Sets the EEPROM to write-enable mode.
Syntax:
void
EE_WriteEnable
(void);
Header:
#include ”7188xa.h”
Description: Sets the EEPROM to write-enable mode. The EEPROM
is in write-protect mode by default. EE_WriteEnable()
must be called before writing data to the EEPROM.
Example:
#include <7188xa.h>
void main()
{
Int data=55, data2;
InitLib();
EE_WriteEnable ();
EE_MultiWrite(1,10,1,&data);
EE_WriteProtect();
EE_MultiRead(1,10,1,&data2);
Print("data=%d, Data2=%d", data,data2);
}
EE_MultiWrite ()
Function: Writes data to the EEPROM
Syntax:
int EE_MultiWrite(int Block,unsigned Addr,int
no,char *Data);
Header:
#include ”7188xa.h”
Description: Writes multi-byte of data to the EEPROM.
Summary of Contents for I-7188XA
Page 62: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 62 5 6 COM1 RS 232 1 2 232...
Page 90: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 90 1 2...
Page 140: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 140...
Page 146: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 146 Step 8 Make the project...
Page 153: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 153 Step 8 Rebuild the project...
Page 158: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 158...
Page 162: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 162...
Page 164: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 164...