A SERVICE OF

logo

iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 123
ReadEEP()
Func.: Read data from EEPROM
Syntax:
int ReadEEP(int block, int addr);
Header: #include ”iVIEW.h”
Description:
Read one byte data from EEPROM.
block: 0 to 7 (total 8 blocks).
addr: 0 to 255 (every block has 256 bytes).
Return Value: On success return the value on EEPROM(0 to 255).
On fail return Error code. BlockError(-10) or AddrError(-9) or (-101,-
102 for
read error)..
Example: Please refer to “EnableEEP()” for example.
InitEEPROM()
Func.: Initial EEPROM before calling external EEPROM user function.
Syntax:
void InitEEPROM(void);
Header: #include ”iVIEW.h”
Description:
There are some external EEPROM user functions. Before calling those
external EEPROM user function, user has to call InitEEPROM() first.
Example: Please refer to iVIEW.h for detail information.