/* Get the DMA of a channel busy or not.  */
xtBoolean DMAChannelIsBusy(unsigned long ulChannelID)
/* Get the DMA of a channel busy or not.  */
xtBoolean DMAChannelIsBusy(unsigned long ulChannelID)
{
    xASSERT(xDMAChannelIDValid(ulChannelID));
    return ((xHWREG(g_psDMAChannelAddress[ulChannelID] + DMA_DSR_BCR) 
            | DMA_DSR_BCR_BSY) ? xtrue : xfalse);
}