The EEPROM driver provides API to read and write to I2C based EEPROM devices present in the board. The driver takes care of all sequencing necessary to perform writes across pages and the application need not take care of the programming intricacies.
Features Supported
- Read and write API from any offset
- Provide API to return EEPROM attributes like size, page size etc
SysConfig Features
- Note
- It is strongly recommend to use SysConfig where it is available instead of using direct SW API calls. This will help simplify the SW application and also catch common mistakes early in the development cycle.
- Option to select EEPROM type based on board
- Supported EEPROMs
- CAT24M
- Option to set the I2C address of the EEPROM
Features NOT Supported
NA
Important Usage Guidelines
None
Example Usage
Include the below file to access the APIs
EEPROM Read API
EEPROM Write API
API
APIs for I2C based EEPROM