Function EE_RandomWrite_8073
Description This function writes one byte date into 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_RandomWrite_8073(int slot, int BlockNumber, int Addr, int Data);
int Function return
0: no 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
BlockNumber 0 to 7 block ( total 8 blocks )
Addr address number : 0 to 255 address
( each block have 256 bytes )
Data 0 ~ 255, the data to write
Example
Function status = EE_RandomWrite_8073(1,1,20,?)
Return status
Description The example writes one byte data into (Block 1, Address 20) of EEPROM of I-8073 in slot 1 of I-8000 system. If success the status is 0.
Modules I-8073

Reference
Initial8073
Initial8073_MMC
MMC_WRITE_BLOCK
MMC_READ_BLOCK
EE_WriteEnable_8073
EE_WriteProtect_8073
EE_MultiRead_8073
EE_MultiWrite_8073
EE_RandomRead_8073
EE_RandomWrite_8073
EE_ReadNext_8073
SetDO
GetDI
AnalogIn
GetAngIn
Read_AD_CalibraionGain
Read_AD_CalibraionOffset
Write_AD_CalibraionGain
Write_AD_CalibraionOffset


Back to Previous Page