Component: FLASH (CAL) (Misc)

From Flowcode Help
Jump to navigationJump to search
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 to download the component source project: FC_Comp_Source_FLASH.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_FLASH.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples









Macro reference

EraseAll

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


ErasePage

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


ReadInstruction

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


WriteInstruction

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


WriteInstructionRow

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


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