Component: EEPROM (Storage)
Author | Matrix Ltd |
Version | 1.1 |
Category | Storage |
Contents
EEPROM component
An EEPROM front end for writing data to persistant storage
Examples
Reads a value from location 0 in the EEPROM and writes back the value incremented by one, the values are displayed on to a LCD.
Starting and stopping the simulation or resetting the microcontroller will allow the program to resume counting from where it left off as opposed to a standard RAM based variable which would reset to an undetermined value.
Downloadable macro reference
Read
Reads a packet of bits from the EEPROM
The number of bits read is 8 or 16, depending on the platform
Parameters
- UINT Address
- The address, in elements, to read the data from
Return value
Write
Writes a packet of bits from the EEPROM
The number of bits written is 8 or 16, depending on the platform
Parameters
- UINT Address
- The address, in elements, to read the data from
- UINT Value
- The 8 or 16 bit value to store in EEPROM
Return value
- This call does not return a value
Simulation macro reference
This component does not contain any simulation macros
Property reference
This component does not contain any properties