Jump to content

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

From Flowcode Help
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead""
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
Line 79: Line 79:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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 93: Line 93:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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 107: Line 107:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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 126: Line 126:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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 145: Line 145:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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 164: Line 164:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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 183: Line 183:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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 202: Line 202:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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 222: Line 222:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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