Jump to content

Component: DMA (CAL) (Misc)

From Flowcode Help
Revision as of 14:15, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"")
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 to download the component source project: FC_Comp_Source_DMA.fcfx

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

Detailed description

No detailed description exists yet for this component

Examples

No additional examples









Macro reference

Disable

Disable
Disables the DMA channel. 
- VOID Return


Enable

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. 
- VOID Return


ReadBuffer16

ReadBuffer16
 
- UINT Data
 
- VOID Return


ReadBuffer32

ReadBuffer32
 
- ULONG Data
 
- VOID Return


ReadBuffer8

ReadBuffer8
 
- BYTE Data
 
- VOID Return


WriteBuffer16

WriteBuffer16
 
- UINT Data
 
- VOID Return


WriteBuffer32

WriteBuffer32
 
- ULONG Data
 
- VOID Return


WriteBuffer8

WriteBuffer8
 
- BYTE Data
 
- VOID Return


Property reference

Properties
Enabled
Enables or Disables the DMA component from generating code. 
Channel
DMA Peripheral Channel Each utilised DMA enabled component should use a unique channel number 
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  
Mode
 
DMA Type
 
Peripheral
 
Size