
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 7188xc.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
”7188xc.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 <7188xc.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
”7188xc.h”
Description: Writes multi-byte of data to the EEPROM.
I-7188XC Series User’s Manual(Ver.1.0, Apr/2007,7MH-21-10) ---
107
Содержание I-7188XC Series
Страница 87: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 87...
Страница 136: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 136...
Страница 142: ...Step 8 Make the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 142...
Страница 149: ...Step 8 Rebuild the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 149...