UG-498
ADuCM320 Hardware Reference Manual
Rev. C | Page 140 of 196
Desc.destEndPtr = (unsigned int)(&pADI_UART->COMTX);
Desc.ctrlCfg.Bits.n_minus_1 = iNumRX - 0x1;
Desc.ctrlCfg.Bits.src_inc = DMA_SRCINC_BYTE;
Desc.ctrlCfg.Bits.dst_inc = DMA_DSTINC_NO;
*Dma_GetDescriptor(UARTTX_C) = Desc;
}
// UART DMA Tx IRQ handler
void DMA_UART_TX_Int_Handler()
{
NVIC_DisableIRQ(DMA_UART_TX_IRQn);
// Clear interrupt source
}