Function EE_MultiRead_8073
Description This function read 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 read 10 bytes length data from the 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 read success will return 0
Reference Initial8073
MMC_WRITE_BLOCK
MMC_READ_BLOCK
GetAngIn
GetDI
SetDO
EE_WriteEnable_8073
EE_WriteProtect_8073
EE_MultiWrite_8073
Read_AD_CalibraionGain
Read_AD_CalibraionOffset
Write_AD_CalibraionGain
Write_AD_CalibraionOffset
Modules I-8073



Back to Previous Page