Jump to content

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

From Flowcode Help
No edit summary
No edit summary
Line 17: Line 17:
==Component Source Code==
==Component Source Code==


Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Serial_EEPROM_(93C46).fcfx FC_Comp_Source_Serial_EEPROM_(93C46).fcfx]
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_temp/Serial_EEPROM_(93C46).fcfx FC_Comp_Source_temp/Serial_EEPROM_(93C46).fcfx]


Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Serial_EEPROM_(93C46).fcfx FC_Comp_Source_Serial_EEPROM_(93C46).fcfx]
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/Serial_EEPROM_(93C46).fcfx FC_Comp_Source_temp/Serial_EEPROM_(93C46).fcfx]


==Detailed description==
==Detailed description==
Line 81: Line 81:


''<span style="color:red;">No additional examples</span>''
''<span style="color:red;">No additional examples</span>''




Line 108: Line 110:




===Read===
===EraseAll===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Read'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''EraseAll'''
|-
|-
| colspan="2" | 8bit mode address = 0 to 128 Data = 0 to 255 16bit mode address = 0 to 64 Data = 0 to 65535&nbsp;
| colspan="2" | &nbsp;
|-
|-
|-
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| width="90%" | address
|-
| colspan="2" | &nbsp;
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u16-icon.png]] - UINT
| width="90%" style="border-top: 2px solid #000;" | ''Return''
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
|}




===Write===
===Read===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Write'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Read'''
|-
|-
| colspan="2" | 8bit mode address = 0 to 128 Data = 0 to 255 16bit mode address = 0 to 64 Data = 0 to 65535&nbsp;
| colspan="2" | 8bit mode address = 0 to 128 Data = 0 to 255 16bit mode address = 0 to 64 Data = 0 to 65535&nbsp;
Line 141: Line 138:
| colspan="2" | &nbsp;
| colspan="2" | &nbsp;
|-
|-
| width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u16-icon.png]] - UINT
| width="90%" | Value
|-
| colspan="2" | &nbsp;
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| width="90%" style="border-top: 2px solid #000;" | ''Return''
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
|}
Line 175: Line 167:




===EraseAll===
===Write===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''EraseAll'''
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Write'''
|-
| colspan="2" | 8bit mode address = 0 to 128 Data = 0 to 255 16bit mode address = 0 to 64 Data = 0 to 65535&nbsp;
|-
|-
| width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" | address
|-
|-
| colspan="2" | &nbsp;
| colspan="2" | &nbsp;
|-
|-
| width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT
| width="90%" | Value
|-
| colspan="2" | &nbsp;
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID

Revision as of 12:03, 3 February 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 to download the component source project: FC_Comp_Source_temp/Serial_EEPROM_(93C46).fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_temp/Serial_EEPROM_(93C46).fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples





Macro reference

Erase

Erase
 
- BYTE Address
 
- VOID Return


EraseAll

EraseAll
 
- VOID Return


Read

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


SendBits

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


Write

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



Property reference

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