/* Initialize DMA hardware. 
DMA control block, requires proper alignment. */
void rt_hw_dma_init(void)
/* Initialize DMA hardware. 
DMA control block, requires proper alignment. */
void rt_hw_dma_init(void)
{
    DMA_Init_TypeDef        dmaInit;
    DMA_Reset();
    dmaInit.hprot           = 0;
    dmaInit.controlBlock    = (DMA_DESCRIPTOR_TypeDef *)&dmaControlBlock;
    DMA_Init(&dmaInit);
    NVIC_SetPriority(DMA_IRQn, EFM32_IRQ_PRI_DEFAULT);
}