Component: Serial EEPROM (24C01 - 24C16) (EEPROM)

From Flowcode Help
Jump to navigationJump to search
Author Matrix TSL
Version 2.0
Category EEPROM


Serial EEPROM (24C01 - 24C16) component

Serial (I2C) EEPROM component for 24C01 to 24C16

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Serial_EEPROM_(24C16).fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Serial_EEPROM_(24C16).fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

Read

Fc9-comp-macro.png Read
Read and return the value of the EEPROM at the given address 
Fc9-u16-icon.png - UINT address
 
Fc9-u8-icon.png - BYTE Return


ReadPage

Fc9-comp-macro.png ReadPage
Read and return the value of the EEPROM at the given address 
Fc9-u16-icon.png - UINT address
 
Fc9-u8-icon.png - BYTE data
 
Fc9-u8-icon.png - BYTE count
 
Fc9-void-icon.png - VOID Return


Write

Fc9-comp-macro.png Write
Write the given data value to the EEPROM at the given address 
Fc9-u16-icon.png - UINT address
 
Fc9-u8-icon.png - BYTE data
 
Fc9-void-icon.png - VOID Return


WritePage

Fc9-comp-macro.png WritePage
Write the given data value to the EEPROM at the given address 
Fc9-u16-icon.png - UINT address
 
Fc9-u8-icon.png - BYTE data
 
Fc9-u8-icon.png - BYTE count
Range: 1-128 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Connections
Fc9-type-16-icon.png Device Address
Device address bits, these must match the address pins on the EEPROM IC. 
Fc9-type-16-icon.png Channel
Channel selection 
Fc9-type-5-icon.png SDA
Pin used for SDA (data signal) 
Fc9-type-5-icon.png SCL
Pin used for SCL (clock signal) 
Fc9-type-16-icon.png Baud Select
Baud rate option selector 
Fc9-type-14-icon.png Baud Rate
Baud rate to be used 
Fc9-type-7-icon.png Stop Delay
On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not a 10ms delay between an I2C stop event and the next I2C start event. Most modern microcontrollers will not have a problem so this property can be disabled to speed up the I2C communications.  
Fc9-conn-icon.png Simulation
Fc9-type-7-icon.png Simulate Comms
No - Provides simulation using a local memory buffer Yes - Provides I2C simulation which can be passed via an API device to real world hardware