Difference between revisions of "Component: Serial Flash (W25) (EEPROM)"
From Flowcode Help
Jump to navigationJump to search| Line 73: | Line 73: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 79: | Line 81: | ||
==Macro reference== | ==Macro reference== | ||
| + | ===WriteControl=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 97: | Line 100: | ||
| + | ===ReadStatus=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 115: | Line 119: | ||
| + | ===ReadDataByte=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 138: | Line 143: | ||
| + | ===ReadUniqueID=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 156: | Line 162: | ||
| + | ===WriteDataArray=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 189: | Line 196: | ||
| + | ===EraseChip=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 207: | Line 215: | ||
| + | ===WriteDataByte=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 235: | Line 244: | ||
| + | ===EraseBlock=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 263: | Line 273: | ||
| + | ===ReadDataArray=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 296: | Line 307: | ||
| + | ===Initialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Revision as of 11:52, 3 February 2023
| Author | Matrix TSL |
| Version | 1.0 |
| Category | EEPROM |
Contents
Serial Flash (W25) component
Component to allow support for the Winbond W25 range of SPI Flash devices. Compatible with various sizes of Flash including: 2Mb, 4Mb, 8Mb, 32Mb, 64Mb, 128Mb.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_SerialFlash_W25Q.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_SerialFlash_W25Q.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
WriteControl
ReadStatus
| ReadStatus | |
| Reads one of the internal status registers on the device | |
| Reg | |
| Selects which status register to read, 0 = Status or 1 = Status 2. | |
| Return | |
ReadDataByte
ReadUniqueID
WriteDataArray
EraseChip
WriteDataByte
EraseBlock
ReadDataArray
Initialise
| Initialise | |
| Initialises the SPI bus ready for communications. | |
| Return | |