| aEEP_WriteInt | Index |
Definition:
Parameters:
Return Value:
Description:
This routine writes a 2-byte int value to 2 sequential bytes starting at a specified address in an EEPROM with 2-byte addressing and an I2C interface. The value is stored in high-byte low-byte order.
Example:
aEEP_WriteInt((unsigned char)0xA0,1000,300);
This would write the int value 300 to EEPROM locations 1000 and 1001. The EEPROM has an I2C address of 0xA0.
Related: