/* Get the DMA remaining Byte Count of a channel.  */
unsigned long DMARemainTransferCountGet(unsigned long ulChannelID)
/* Get the DMA remaining Byte Count of a channel.  */
unsigned long DMARemainTransferCountGet(unsigned long ulChannelID)
{
    xASSERT(xDMAChannelIDValid(ulChannelID));
    return xHWREG(g_psDMAChannel[ulChannelID] + 4);
}