DMA
4.6.13
DMA_GetStatus
Function
Arguments
Return Value
Description
Example
4.6.14
DMA_MK_AUXCTL
Macro
Arguments
Return Value
4-30
Reads the status bits of the DMA channe
UINT32 DMA_GetStatus(
DMA_HANDLE hDma
);
Handle to DMA channel, see DMA_Open()
hDma
Current DMA channel status:
Status Value
This function reads the STATUS bits of the DMA channel
while (DMA_Status(hDma)==DMA_STATUS_RUNNING);
Makes a value suitable for the auxiliary control register
DMA_MK_AUXCTL(
chpri,
auxpri
)
DMA channel priority:
chpri
Auxiliary channel priority mode:
auxpri
Constructed register value
AUXCTL Value
DMA_STATUS_STOPPED
DMA_STATUS_RUNNING
DMA_STATUS_PAUSED
DMA_STATUS_AUTORUNNING
DMA_AUXCTL_CHPRI_HIGHEST
DMA_AUXCTL_CHPRI_2ND
DMA_AUXCTL_CHPRI_3RD
DMA_AUXCTL_CHPRI_4TH
DMA_AUXCTL_CHPRI_LOWEST
DMA_AUXCTL_AUXPRI_CPU
DMA_AUXCTL_AUXPRI_DMA
l
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?