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 |
|
|