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


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

Fc9-comp-macro.png WriteInstructionRow
Writes a complete row of instructions to the device memory. Takes the values from the data array. 
Fc9-u32-icon.png - ULONG Address
 
Fc9-u32-icon.png - ULONG Data
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ErasePage
Erase the minimum amount of flash (usually a page) at the selected address. 
Fc9-u32-icon.png - ULONG Address
Start address of page 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ReadInstruction
Reads a single instruction from the device memory. Loads the result into the Data array. 
Fc9-u32-icon.png - ULONG Address
Start address of page 
Fc9-u32-icon.png - ULONG Data
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png WriteInstruction
Writes a the minimum number of instructions to the device memory. Takes the values from the data array. 
Fc9-u32-icon.png - ULONG Address
 
Fc9-u32-icon.png - ULONG Data
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png EraseAll
Erase all flash memory locations on the device. 
Fc9-bool-icon.png - BOOL Aux
0=Primary Flash, 1=Aux Flash if available 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-7-icon.png Enabled
 
Fc9-type-21-icon.png Type
 
Fc9-type-21-icon.png StartAddress
 
Fc9-type-21-icon.png Bits Per Instruction
Number of bits that can be stored or retreived using a single flash address 
Fc9-type-21-icon.png Bits Per Value
Number of bits available when initialising the Flash memory. 
Fc9-type-21-icon.png Min Write Count
 
Fc9-type-21-icon.png Row Instruction Count
 
Fc9-type-21-icon.png Page Instruction Count
 
Fc9-type-21-icon.png Program Counter Increment
 
Fc9-type-16-icon.png Family