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