71
Rev. 0
Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog
Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications
subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
7. Check EEPROM control and status register, make sure to be in the initial state
byte error = LTC2949_EEPROMIsReady()
8. Initialize EEPROM
byte error = LTC2949_EEPROMCommand(LTC2949_BM_EEPROM_INIT)
9. Check if EEPROM was initialized correctly
byte error = LTC2949_EEPROMCommand(LTC2949_BM_EEPROM_CHECK)
10. Store LTC2949 memory to EEPROM
byte error = LTC2949_EEPROMCommand(LTC2949_BM_EEPROM_SAVE)
11. Restore LTC2949 memory from EEPROM
byte error = LTC2949_EEPROMCommand(LTC2949_BM_EEPROM_RESTORE)
12. EEPROM access, higher level functions
13. All-in-one EEPROM read (do all checks and restore from EEPROM)
byte error = LTC2949_EEPROMRead()
14. All-in-one EEPROM write (Initialize, check and write to EEPROM)
byte error = LTC2949_EEPROMWrite()
15. Initialize only and check EEPROM (checks if EEPROM is connected and write is possible, but does not write any
of LTC2949’s configuration)
byte error = LTC2949_EEPROMInitCheck()
Most functions LTC2949_ typically return an error code. Return value is 0
.in case of no error.
Most functions LTC2949_ typically return an error code. Return value is 0 in case of no error.
APPENDIX H: LTC2949.CPP/.H BASIC LIBRARY FUNCTIONS