Difference between revisions of "Component: FLASH (CAL) (Misc)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray...") |
|||
| Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| Line 26: | Line 28: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
Revision as of 14:40, 16 January 2023
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Misc |
Contents
FLASH (CAL) component
CAL - Code Abstraction Layer A low level implementation giving direct access to Flash read and write routines.
Component Source Code
Please click here for the component source code: FC_Comp_Source_FLASH.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
| WriteInstructionRow | |
| Writes a complete row of instructions to the device memory. Takes the values from the data array. | |
| Address | |
| Data | |
| Return | |
| ErasePage | |
| Erase the minimum amount of flash (usually a page) at the selected address. | |
| Address | |
| Start address of page | |
| Return | |
| ReadInstruction | |
| Reads a single instruction from the device memory. Loads the result into the Data array. | |
| Address | |
| Start address of page | |
| Data | |
| Return | |
| WriteInstruction | |
| Writes a the minimum number of instructions to the device memory. Takes the values from the data array. | |
| Address | |
| Data | |
| Return | |
| EraseAll | |
| Erase all flash memory locations on the device. | |
| Aux | |
| 0=Primary Flash, 1=Aux Flash if available | |
| Return | |