/* 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(uint32_t ui32ChannelNum)
/* 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(uint32_t ui32ChannelNum)
{
    ASSERT((ui32ChannelNum & 0xffff) < 32);
    HWREG(UDMA_ENASET) = 1 << (ui32ChannelNum & 0x1f);
}