54 #define UARTD_ERROR_LOCK 2 91 uint16_t dmaBlockSize;
93 uint8_t dmaRingBuffer;
uint32_t UARTD_EnableTxChannels(UartDma *pUartd, UartChannel *pTxCh)
This function initialize the appropriate DMA channel for Tx channel of UART.
Definition: uart_dma.c:464
Definition: uart_dma.h:98
void * pArgument
Definition: uart_dma.h:83
uint32_t UARTD_EnableRxChannels(UartDma *pUartd, UartChannel *pRxCh)
This function initialize the appropriate DMA channel for Rx channel of UART.
Definition: uart_dma.c:409
Structure for storing parameters for DMA view1 that can be performed by the DMA Master transfer...
Definition: xdmad.h:167
uint8_t * pBuff
Definition: uart_dma.h:75
Uart hardware registers.
Definition: component_uart.h:41
UartChannel * pRxChannel
Definition: uart_dma.h:106
usart Transfer Request prepared by the application upper layer.
Definition: uart_dma.h:73
uint32_t ChNum
Definition: uart_dma.h:79
uint32_t UARTD_Configure(UartDma *pUartd, uint8_t uartId, uint32_t uartMode, uint32_t baud, uint32_t clk)
Initializes the UartDma structure and the corresponding UART & DMA . hardware select value...
Definition: uart_dma.c:360
enum _XdmadProgState eXdmadProgState
UartdCallback callback
Definition: uart_dma.h:81
uint32_t UARTD_SendData(UartDma *pUartd)
Starts a UART master transfer. This is a non blocking function. It will return as soon as the transfe...
Definition: uart_dma.c:585
uint8_t uartId
Definition: uart_dma.h:100
sXdmad * pXdmad
Definition: uart_dma.h:102
uint32_t UARTD_DisableTxChannels(UartDma *pUartd, UartChannel *pTxCh)
This function disables the appropriate DMA channel for Tx channel of USART.
Definition: uart_dma.c:552
uint32_t UARTD_RcvData(UartDma *pUartd)
Starts a UART master transfer. This is a non blocking function. It will return as soon as the transfe...
Definition: uart_dma.c:607
volatile uint8_t sempaphore
Definition: uart_dma.h:85
Uart * pUartHw
Definition: uart_dma.h:104
uint32_t UARTD_DisableRxChannels(UartDma *pUartd, UartChannel *pRxCh)
This function disables the appropriate DMA channel for Rx channel of USART.
Definition: uart_dma.c:517
uint32_t BuffSize
Definition: uart_dma.h:77
void(* UartdCallback)(uint8_t, void *)
Definition: uart_dma.h:66
UartChannel * pTxChannel
Definition: uart_dma.h:108