Microchip | The Embedded Control Solutions Company Register Login
Browse All
Microchip Technology
 305 Code Snippets

Data EEPROM emulation using flash for PIC32MM devices

Microchip Technology

This simple library allows emulating a data EEPROM using the flash memory for PIC32MM family devices.

About this Code Example

The library includes just 3 functions:

1. EEPROM access initialization
void DEE_Init();

2. Function to write a "value" mapped by "key" (32-bit ID)."key" = 0xFFFF_FFFF is reserved. Returns zero if successful.

unsigned long DEE_Write(unsigned long key, unsigned long value);

3. Function to find/get a value matching the "key" specified. Returns 0xFFFF_FFFF if key is not found.

unsigned long DEE_Read(unsigned long key);

Categories

Release History

  • Jun 20, 2017

    Version: 1.0.0

    Initial Release

Download Contact the Developer

*Required Fields

  • Current Version:1.0.0
  • Created:Jun 20, 2017
  • Updated:Jun 20, 2017
  • Downloads:4159
  • MPLAB Version:MPLAB X
  • C Compiler:xc32
  • Development Tools:Any
  • Supported Devices:PIC32MM devices

Corporate News

Resources

Stay Connected

Stay up to date with the latest news from Microchip Technology.