Jump to content

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

From Flowcode Help
No edit summary
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(3 intermediate revisions by the same user not shown)
Line 76: Line 76:


===Disable===
===Disable===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Disable'''
| width="90%" class="mtx-class-macrohead" | '''Disable'''
|-
|-
| colspan="2" | Disables the DMA channel. 
| colspan="2" | Disables the DMA channel. 
Line 90: Line 90:


===Enable===
===Enable===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Enable'''
| width="90%" class="mtx-class-macrohead" | '''Enable'''
|-
|-
| colspan="2" | 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. 
| colspan="2" | 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. 
Line 104: Line 104:


===ReadBuffer16===
===ReadBuffer16===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadBuffer16'''
| width="90%" class="mtx-class-macrohead" | '''ReadBuffer16'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 123: Line 123:


===ReadBuffer32===
===ReadBuffer32===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadBuffer32'''
| width="90%" class="mtx-class-macrohead" | '''ReadBuffer32'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 142: Line 142:


===ReadBuffer8===
===ReadBuffer8===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadBuffer8'''
| width="90%" class="mtx-class-macrohead" | '''ReadBuffer8'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 161: Line 161:


===WriteBuffer16===
===WriteBuffer16===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WriteBuffer16'''
| width="90%" class="mtx-class-macrohead" | '''WriteBuffer16'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 180: Line 180:


===WriteBuffer32===
===WriteBuffer32===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WriteBuffer32'''
| width="90%" class="mtx-class-macrohead" | '''WriteBuffer32'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 199: Line 199:


===WriteBuffer8===
===WriteBuffer8===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''WriteBuffer8'''
| width="90%" class="mtx-class-macrohead" | '''WriteBuffer8'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 219: Line 219:
==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-

Latest revision as of 14:23, 13 July 2026

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