Difference between revisions of "Component: DMA (CAL) (Misc)"

From Flowcode Help
Jump to navigationJump to search
Line 20: Line 20:
  
 
==Detailed description==
 
==Detailed description==
 +
 +
  
  
Line 28: Line 30:
  
 
==Examples==
 
==Examples==
 +
 +
  
  
Line 37: Line 41:
  
  
==Downloadable macro reference==
+
==Macro reference==
  
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"

Revision as of 14:10, 20 January 2023

Author Matrix TSL
Version 1.0
Category Misc


DMA (CAL) component

CAL - Code Abstraction Layer A low level implementation giving direct access to DMA routines.

Component Source Code

Please click here for the component source code: FC_Comp_Source_DMA.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Macro reference

Fc9-comp-macro.png WriteBuffer32
 
Fc9-u32-icon.png - ULONG Data
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png Disable
Disables the DMA channel. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ReadBuffer16
 
Fc9-u16-icon.png - UINT Data
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ReadBuffer8
 
Fc9-u8-icon.png - BYTE Data
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png Enable
Initialise the DMA channel ready to process data to or from a peripheral. The user must enable the corresponding DMA interrupt after initialising the channel. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png WriteBuffer16
 
Fc9-u16-icon.png - UINT Data
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png WriteBuffer8
 
Fc9-u8-icon.png - BYTE Data
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ReadBuffer32
 
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
Enables or Disables the DMA component from generating code. 
Fc9-type-16-icon.png Channel
DMA Peripheral Channel Each utilised DMA enabled component should use a unique channel number 
Fc9-type-7-icon.png Ping Pong
Controls the ping pong mode. True - Ping pong enabled, DMA memory double buffered to allow for seamless data sampling False - Ping pong disabled, DMA memory single buffered  
Fc9-type-16-icon.png Mode
 
Fc9-type-16-icon.png DMA Type
 
Fc9-type-16-icon.png Peripheral
 
Fc9-type-21-icon.png Size