2.38 Data EEPROM

The data EEPROM module provides an interface to perform Word Read, Write and Erase or Bulk Erase operations.

Using The Library

Erase/Read/Program: Provides interface to perform a page erase, bulk erase, word read, word write,

Busy/Error Handling: Busy interface is exposed to check whether EEPROM is busy. Error get interface is exposed to indicate error. User can invoke busy/error get function to check for EEPROM busy or if any errors.

Library Interface

The EEPROM peripheral library provides the following interfaces:

Functions

NameDescription
EEPROM_InitializeInitializes data EEPROM Memory
EEPROM_WordReadReads one word from a given address in data EEPROM
EEPROM_WordWriteWrites one word to data EEPROM
EEPROM_PageEraseErases one word in data EEPROM
EEPROM_BulkEraseErases complete EEPROM
EEPROM_IsBusyChecks whether data EEPROM is busy or not
EEPROM_ErrorGetGets the data EEPROM error
Note: Not all APIs maybe implemented. See the specific device family section for available APIs.