Jump to content

Component: Serial EEPROM (93C46) (EEPROM): Difference between revisions

From Flowcode Help
Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | MatrixTSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray;..."
 
No edit summary
Line 20: Line 20:


==Detailed description==
==Detailed description==




Line 40: Line 42:


==Examples==
==Examples==




Line 61: Line 65:




==Downloadable macro reference==
==Macro reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"

Revision as of 14:13, 20 January 2023

Author MatrixTSL
Version 1.0
Category EEPROM


Serial EEPROM (93C46) component

A simple example showing the bare bones used to create a component based on SPI communications. ORG pin must be connected to GND

Component Source Code

Please click here for the component source code: FC_Comp_Source_Serial_EEPROM_(93C46).fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Macro reference

Erase
 
- BYTE Address
 
- VOID Return


Read
8bit mode address = 0 to 128 Data = 0 to 255 16bit mode address = 0 to 64 Data = 0 to 65535 
- BYTE address
 
- UINT Return


Write
8bit mode address = 0 to 128 Data = 0 to 255 16bit mode address = 0 to 64 Data = 0 to 65535 
- BYTE address
 
- UINT Value
 
- VOID Return


SendBits
A simple example showing a generic way to write a register using I2C. 
- UINT value
 
- BYTE length
 
- VOID Return


EraseAll
 
- VOID Return



Property reference

Properties
Mode
 
Connections
CS
EEPROM pin 1 
SK
EEPROM pin 2 
DI
EEPROM pin 3 
DO
EEPROM pin 4 
Operations
Control Codes