#ifndef __DMA_H
#define __DMA_H	 

#include "cw32f030_dma.h"
#include "uart.h"

//DMA
#define  DEBUG_USART_TX_DMA             CW_DMACHANNEL2
#define  DEBUG_USART_RX_DMA             CW_DMACHANNEL1
#define  DEBUG_USART_TxTrigSource       DMA_HardTrig_UART1_TXBufferE
#define  DEBUG_USART_RxTrigSource       DMA_HardTrig_UART1_RXBufferNE
#define  DEBUG_DMA_BUFFSIZE             5000

void DMA_Configuration(void);
				    
#endif
