Function |
EE_MultiWrite_8073 |
Description |
This function writes data to EEPROM 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_MultiWrite_8073(int slot, int Block, int
Addr,i nt no, char *Data);
int |
Function return
0 : no error
-10 : block error
-9 : address error
-11 : write 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
|
Block |
block number : 0 to 7 block ( total 8 blocks ) |
Addr |
address number : 0 to 255 address ( each block have 256 bytes
) |
No |
write EEPROM 's data length : 1 to 16 |
*Data |
write data buffer to EEPROM. |
|
Note |
The AD calibration data in the Addr 224 to 255 of Block 7 so this region
limit to write data.
Only Write_AD_CalibraionGain
or Write_AD_CalibraionOffset
two function can write data in the Addr 224 to 255 of Block 7. |
Example |
Function |
status = EE_MultiWrite_8073(1,0,0,10,buf) |
Return |
status |
Description |
The example writes 10 bytes length data of buf to the (Block 0
, Addr 0) of the EEPROM of I-8073 in slot 1 of I-8000 system, if
success the status is 0. |
|
Modules |
I-8073 |
|
Reference |
|
|