Example
4.6.20
DMA_MK_SECCTL
Macro
Arguments
UINT32 PriCtl;
/* you can do this /
PriCtl =
DMA_MK_PRICTL(0,1,1,0,0,0,0,0,0,0,0,0,0,0,0);
/ or to be more readable, you can do this */
PriCtl = DMA_MK_PRICTL(
DMA_PRICTL_START_STOP,
DMA_PRICTL_SRCDIR_INC,
DMA_PRICTL_DSTDIR_INC,
DMA_PRICTL_ESIZE_32BIT,
DMA_PRICTL_SPLIT_DISABLE,
DMA_PRICTL_CNTRLD_NA,
DMA_PRICTL_INDEX_NA,
DMA_PRICTL_RSYNC_NONE,
DMA_PRICTL_WSYNC_NONE,
DMA_PRICTL_PRI_CPU,
DMA_PRICTL_TCINT_DISABLE,
DMA_PRICTL_FS_DISABLE,
DMA_PRICTL_EMOD_NOHALT,
DMA_PRICTL_SRCRLD_NONE,
DMA_PRICTL_DSTRLD_NONE
);
Makes a value suitable for a secondary control register
DMA_MK_SECCTL(
sxie,
frameie,
lastie,
blockie,
rdropie,
wdropie,
dmacen,
fsig,
rspol,
wspol
)
Split transmit overrun receive interrupt enable:
sxie
DMA_SECCTL_SXIE_DISABLE
DMA_SECCTL_SXIE_ENABLE
CSL API Reference
DMA
4-41
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?
Questions and answers