/* Checks if a uDMA channel is enabled for operation. */
bool uDMAChannelIsEnabled(uint32_t ui32ChannelNum)
/* Checks if a uDMA channel is enabled for operation. */
bool uDMAChannelIsEnabled(uint32_t ui32ChannelNum)
{
    ASSERT((ui32ChannelNum & 0xffff) < 32);
    return ((HWREG(UDMA_ENASET) & (1 << (ui32ChannelNum & 0x1f))) ? true :
            false);
}