5.3.9.2 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 5.4.5 Variables in EEPROM for other ways of accessing the EEPROM.