Component: FLASH (CAL) (Misc)

From Flowcode Help
Revision as of 17:46, 9 November 2022 by Wiki bot (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 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