EEPROM Type Qualifier

The __eeprom type qualifier is used to place objects in EEPROM memory for Baseline and Mid-range devices that implement this memory. A warning is produced if the qualifier is not supported for the selected device. Check your device data sheet to see the memory available.

This qualifier can be used with any object with static storage duration, for example to place the inputData array into EEPROM, use:

__eeprom unsigned char inputData[3];

See Variables in EEPROM for other ways of accessing the EEPROM.