DMA
4.6.21
DMA_MK_SRC
Macro
Arguments
Return Value
Description
Example
4-44
Makes a value suitable for the source address register
DMA_MK_SRC(
src
)
Source address:
src
Constructed register value
SRC Value
Use this macro to make a value suitable for the source address register.
Although not really necessary, this macro is included for orthogonality
and code readability.
The power-on default value is DMA_SRC_DEFAULT.
Use of the DMA_MK macros makes it simpler to construct register val-
ues based on field values. You have a choice of using integer
constants, integer variables, or the symbolic constants for arguments.
All field values are right justified.
Refer to the TMS320C6000 Peripherals Reference Guide (literature
number SPRU190) for descriptions of the arguments.
UINT32 Src;
Src = DMA_MK_SRC(0x80000000);
Src = DMA_MK_SRC(
DMA_SRC_SRC_OF(0x80000000)
);
DMA_SRC_SRC_OF(x)
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?