DMA
4.6.4
DMA_CLEAR_
CONDITION
Macro
Arguments
Return Value
Description
Example
4.6.5
DMA_Close
Function
Arguments
Return Value
Description
Example
4-24
Clears one of the condition flags in the DMA secondary
control register
DMA_CLEAR_CONDITION(
hDma,
COND
);
Handle to DMA channel, see DMA_Open()
hDma
Condition to clear, must be one of the following:
COND
DMA_SECCTL_SXCOND
DMA_SECCTL_FRAMECOND
DMA_SECCTL_LASTCOND
DMA_SECCTL_BLOCKCOND
DMA_SECCTL_RDROPCOND
DMA_SECCTL_WDROPCOND
DMA_SECCTL_RSYNCSTAT
DMA_SECCTL_WSYNCSTAT
none
This macro clears one of the condition flags in the DMA secondary con-
trol register. See the TMS320C6000 Peripherals Reference Guide (liter-
ature number SPRU190) for a description of the condition flags.
DMA_CLEAR_CONDITION(hDma,DMA_SECCTL_BLOCKCOND);
Closes a DMA channel opened via DMA_Open()
void DMA_Close(
DMA_HANDLE hDma
);
Handle to DMA channel, see DMA_Open()
hDma
none
This function closes a DMA channel previously opened via
DMA_Open(). The registers for the DMA channel are set to their pow-
er-on defaults and the completion interrupt is disabled and cleared.
DMA_Close(hDma);
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?