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 7188xb.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
”7188xb.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 <7188xb.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
”7188xb.h”
Description: Writes multi-byte of data to the EEPROM.
I-7188XB Series User’s Manual(Ver.1.0, Apr/2007,
7MH-020-10
) ---
109
Содержание I-7188XB Series
Страница 88: ...I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 88...
Страница 138: ...I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 138...
Страница 144: ...Step 8 Make the project I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 144...
Страница 151: ...Step 8 Rebuild the project I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 151...