Function EE_MultiWrite_8073
Description This function write 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,int 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 used 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 write 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 write success will return 0 .
Reference Initial8073
MMC_WRITE_BLOCK
MMC_READ_BLOCK
GetAngIn
GetDI
SetDO
EE_WriteEnable_8073
EE_WriteProtect_8073
EE_MultiRead_8073
Read_AD_CalibraionGain
Read_AD_CalibraionOffset
Write_AD_CalibraionGain
Write_AD_CalibraionOffset
Modules I-8073



Back to Previous Page