![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/4/44/44414c02-d064-4424-ae12-8acc58561d02/44414c02-d064-4424-ae12-8acc58561d02-bg7b.png)
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,-
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.