Component: FRAM MB85RC (EEPROM)
From Flowcode Help
| Author | Matrix TSL |
| Version | 1.0 |
| Category | EEPROM |
Contents
FRAM MB85RC component
I2C Ferroelectric Random Access Memory (FRAM) component for Fujitsu MB85RC and Cypress FM24/CY15B series devices. Supports 4K to 1M devices. Based on FRAM_MB85RC_I2C Arduino library.
Detailed description
No detailed description exists yet for this component
Examples
Here's a simple file to test the functionality of the FRAM device.
Macro reference
DisableWriteProtect
| DisableWriteProtect | |
| Disables write protection on the FRAM device. Returns error code: 0=success | |
| Return | |
EnableWriteProtect
| EnableWriteProtect | |
| Enables write protection on the FRAM device. Returns error code: 0=success | |
| Return | |
EraseDevice
| EraseDevice | |
| Erases the entire FRAM device by writing zeros to all memory locations. Returns error code: 0=success, 1-4=error | |
| Return | |
Initialise
| Initialise | |
| Initializes the I2C interface and prepares the FRAM device for operation. Returns error code: 0=success, 1-4=error | |
| Return | |
Read
| Read | |
| Reads a single byte from the specified FRAM address. Returns the byte value read, or 0xFF on error. | |
| Address | |
| Memory address to read from | |
| Return | |
ReadFloat
| ReadFloat | |
| Reads a 32-bit floating point value (FLOAT) from the specified FRAM address. Returns the float value read, or 0.0 on error. | |
| Address | |
| Memory address to read from | |
| Return | |
ReadInt
| ReadInt | |
| Reads a 16-bit signed integer (INT) from the specified FRAM address. Returns the integer value read, or 0 on error. | |
| Address | |
| Memory address to read from | |
| Return | |
ReadLong
| ReadLong | |
| Reads a 32-bit signed integer (LONG) from the specified FRAM address. Returns the long value read, or 0 on error. | |
| Address | |
| Memory address to read from | |
| Return | |
ReadPage
Write
| Write | |
| Writes a single byte to the specified FRAM address. Returns error code: 0=success, 1-4=error | |
| Address | |
| Memory address to write to | |
| Data | |
| Byte value to write | |
| Return | |
WriteFloat
WriteInt
WriteLong
WritePage
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_FRAM_MB85RC.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_FRAM_MB85RC.fcfx