wspol
Return Value
SECCTL Value
Description
Use this macro to make a value suitable for a secondary control regis-
ter.
The power-on default value is DMA_SECCTL_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.
Example
UINT32 SecCtl;
/* you can do this /
SecCtl = DMA_MK_SECCTL(0,0,0,1,0,0,0,0,0,0);
/ or to be more readable, you can do this */
SecCtl = DMA_MK_SECCTL(
DMA_SECCTL_SXIE_DISABLE,
DMA_SECCTL_FRAMEIE_DISABLE,
DMA_SECCTL_LASTIE_DISABLE,
DMA_SECCTL_BLOCKIE_ENABLE,
DMA_SECCTL_RDROPIE_DISABLE,
DMA_SECCTL_WDROPIE_DISABLE,
DMA_SECCTL_DMACEN_LOW,
DMA_SECCTL_FSIG_NORMAL,
DMA_SECCTL_RSPOL_ACTIVEHIGH,
DMA_SECCTL_WSPOL_ACTIVEHIGH
);
Write sync polarity:
DMA_SECCTL_WSPOL_NA
DMA_SECCTL_WSPOL_ACTIVEHIGH
DMA_SECCTL_WSPOL_ACTIVELOW
Constructed register value
CSL API Reference
DMA
4-43
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?
Questions and answers