Component: DMA (CAL) (Peripheral CAL)
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Peripheral CAL |
Contents
DMA (CAL) component
CAL - Code Abstraction Layer A low level implementation giving direct access to DMA routines.
Examples
No additional examples
Downloadable macro reference
WriteBuffer32
No additional information
Parameters
- ULONG Data
Return value
- This call does not return a value
Disable
Disables the DMA channel.
Parameters
- This macro has no parameters
Return value
- This call does not return a value
ReadBuffer16
No additional information
Parameters
- UINT Data
Return value
- This call does not return a value
ReadBuffer8
No additional information
Parameters
- BYTE Data
Return value
- This call does not return a value
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.
Parameters
- This macro has no parameters
Return value
- This call does not return a value
WriteBuffer16
No additional information
Parameters
- UINT Data
Return value
- This call does not return a value
WriteBuffer8
No additional information
Parameters
- BYTE Data
Return value
- This call does not return a value
ReadBuffer32
No additional information
Parameters
- ULONG Data
Return value
- This call does not return a value
Simulation macro reference
This component does not contain any simulation macros
Property reference
Enabled
This property is of type True or false and can be referenced with the variable name Enabled.
Enables or Disables the DMA component from generating code.
Channel
This property is of type Fixed list of ints and can be referenced with the variable name Channel.
DMA Peripheral Channel
Each utilised DMA enabled component should use a unique channel number
Ping Pong
This property is of type True or false and can be referenced with the variable name PingPong.
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
This property is of type Fixed list of ints and can be referenced with the variable name Mode.
No additional information
DMA Type
This property is of type Fixed list of ints and can be referenced with the variable name DMAType.
No additional information
Peripheral
This property is of type Fixed list of ints and can be referenced with the variable name Peripheral.
No additional information
Size
This property is of type Unsigned integer and can be referenced with the variable name Size.
No additional information