54#define UARTD_ERROR_LOCK 2
91 uint16_t dmaBlockSize;
93 uint8_t dmaRingBuffer;
enum _XdmadProgState eXdmadProgState
usart Transfer Request prepared by the application upper layer.
Definition: uart_dma.h:73
void * pArgument
Definition: uart_dma.h:83
UartdCallback callback
Definition: uart_dma.h:81
uint32_t BuffSize
Definition: uart_dma.h:77
volatile uint8_t sempaphore
Definition: uart_dma.h:85
uint8_t * pBuff
Definition: uart_dma.h:75
uint32_t ChNum
Definition: uart_dma.h:79
Definition: uart_dma.h:98
Uart * pUartHw
Definition: uart_dma.h:104
UartChannel * pTxChannel
Definition: uart_dma.h:108
UartChannel * pRxChannel
Definition: uart_dma.h:106
sXdmad * pXdmad
Definition: uart_dma.h:102
uint8_t uartId
Definition: uart_dma.h:100
Uart hardware registers.
Definition: component_uart.h:41
Structure for storing parameters for DMA view1 that can be performed by the DMA Master transfer.
Definition: xdmad.h:167
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
void(* UartdCallback)(uint8_t, void *)
Definition: uart_dma.h:66
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
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
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
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
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