/* When a uDMA transfer is completed, the channel is automatically disabled by the uDMA controller. Therefore, this function should be called prior to starting up any new transfer. */
void uDMAChannelEnable(unsigned long ulChannelNum)
/* When a uDMA transfer is completed, the channel is automatically disabled by the uDMA controller. Therefore, this function should be called prior to starting up any new transfer. */
void uDMAChannelEnable(unsigned long ulChannelNum)
{
    ASSERT((ulChannelNum & 0xffff) < 32);
    HWREG(UDMA_ENASET) = 1 << (ulChannelNum & 0x1f);
}