Function |
EE_MultiRead_8073 |
Description |
This function reads EEPROM's data of I-8073 module in the specified slot
of the I-8000 system.
This function is used for C/C++ compiler. |
Function Prototype |
int EE_MultiRead_8073(int slot, int StartBlock, int
StartAddr, int no, char *databuf);
int |
Function return
0 : no error
-10 : block error
-9 : address error |
slot |
Specified slot of the I-8000 system
Range from 0 to 3 for 4 slot
Range from 0 to 7 for 8 slot
|
StartBlock |
start block number : 0 to 7 block ( total 8 blocks ) |
StartAddr |
start address number : 0 to 255 address ( each block have 256
bytes ) |
No |
read EEPROM 's data length : 1 to 2048 |
*databuf |
readback EEPROM's data. |
|
Example |
Function |
status = EE_MultiRead_8073(1,0,0,10,buf) |
Return |
status |
Description |
The example reads 10 bytes length data from (Block 0, Addr
0) of the EEPROM of I-8073 in slot 1 of I-8000 system and readback
10 bytes data in buf , if success the status is 0. |
|
Modules |
I-8073 |
|
Reference |
|
|