1.10.9 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

Name Description
EEPROM_Initialize Initializes data EEPROM Memory
EEPROM_WordRead Reads one word from a given address in data EEPROM
EEPROM_WordWrite Writes one word to data EEPROM
EEPROM_PageErase Erases one word in data EEPROM
EEPROM_BulkErase Erases complete EEPROM
EEPROM_IsBusy Checks whether data EEPROM is busy or not
EEPROM_ErrorGet Gets the data EEPROM error