Component: Flash EEPROM (Storage)
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Storage |
Contents
Flash EEPROM component
Provides an emulated version of EEPROM using the microcontrollers on-board flash program memory. Requires a microcontroller with write and erase access to the flash memory.
Examples
No additional examples
Downloadable macro reference
Read
Reads a single value from the Flash EEPROM at the specified address
Parameters
- UINT Address
Return value
Write
Writes a single value to the Flash EEPROM at the specified address
Parameters
- UINT Address
- ULONG Data
Return value
- This call does not return a value
Simulation macro reference
This component does not contain any simulation macros
Property reference
Enabled
This property is of type True or false and can be referenced with the variable name Enabled.
Is the Flash EEPROM component currently supported on the selected MCU device?
Number Of Values
This property is of type Fixed list of ints and can be referenced with the variable name NumValues.
Number of individual values that can be read and written using the component.
The more values you want the bigger the RAM buffer required to store the data when performing a write.
Flash Page
This property is of type Fixed list of ints and can be referenced with the variable name FlashPage.
Flash Page to use as EEPROM
Flash Address
This property is of type Unsigned integer and can be referenced with the variable name FlashAddress.
No additional information
Initialiser
This property is of type Line of text and can be referenced with the variable name Initaliser.
No additional information
Bits Per Value
This property is of type Unsigned integer and can be referenced with the variable name BitsPerVal.
Number of bits available when initialising the Flash memory.
Bits Per Instruction
This property is of type Unsigned integer and can be referenced with the variable name BitsPerInst.
Number of bits that can be stored or retreived using a single flash address