Home
last modified time | relevance | path

Searched refs:uartDmaHandle (Results 1 – 5 of 5) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/uart/
Dfsl_adapter_usart.c738 hal_uart_dma_state_t *uartDmaHandle; in USART_DMACallbacks() local
743 uartDmaHandle = (hal_uart_dma_state_t *)userData; in USART_DMACallbacks()
745 if (NULL != uartDmaHandle->dma_callback) in USART_DMACallbacks()
750 msg.data = uartDmaHandle->dma_tx.buffer; in USART_DMACallbacks()
751 msg.dataSize = uartDmaHandle->dma_tx.bufferLength; in USART_DMACallbacks()
752 uartDmaHandle->dma_tx.buffer = NULL; in USART_DMACallbacks()
757 msg.data = uartDmaHandle->dma_rx.buffer; in USART_DMACallbacks()
758 msg.dataSize = uartDmaHandle->dma_rx.bufferLength; in USART_DMACallbacks()
759 uartDmaHandle->dma_rx.buffer = NULL; in USART_DMACallbacks()
762 uartDmaHandle->dma_callback(uartDmaHandle, &msg, uartDmaHandle->dma_callback_param); in USART_DMACallbacks()
[all …]
Dfsl_adapter_lpuart.c286 hal_uart_dma_state_t *uartDmaHandle = s_UartDmaState[instance]; in HAL_UartGetDmaReceivedBytes() local
289 …EDMA_GetRemainingMajorLoopCount(uartDmaHandle->rxEdmaHandle.base, uartDmaHandle->rxEdmaHandle.chan… in HAL_UartGetDmaReceivedBytes()
312 hal_uart_dma_state_t *uartDmaHandle = s_UartDmaState[instance]; in HAL_UartDMAIdlelineInterruptHandle() local
320 assert(uartDmaHandle); in HAL_UartDMAIdlelineInterruptHandle()
322 if ((NULL != uartDmaHandle->dma_callback) && (NULL != uartDmaHandle->dma_rx.buffer)) in HAL_UartDMAIdlelineInterruptHandle()
330 if (uartDmaHandle->dma_rx.receiveAll == true) in HAL_UartDMAIdlelineInterruptHandle()
332 if (receiveLength < uartDmaHandle->dma_rx.bufferLength) in HAL_UartDMAIdlelineInterruptHandle()
340 …(receiveLength < uartDmaHandle->dma_rx.bufferLength) ? receiveLength : uartDmaHandle->dma_rx.buffe… in HAL_UartDMAIdlelineInterruptHandle()
348 … (void)memcpy(uartDmaHandle->dma_rx.buffer, &s_ringBuffer[instance][ringBufferIndex[instance]], in HAL_UartDMAIdlelineInterruptHandle()
355 … (void)memcpy(uartDmaHandle->dma_rx.buffer, &s_ringBuffer[instance][ringBufferIndex[instance]], in HAL_UartDMAIdlelineInterruptHandle()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/uart/
Dfsl_uart_dma.c421 void UART_TransferDMAHandleIRQ(UART_Type *base, void *uartDmaHandle) in UART_TransferDMAHandleIRQ() argument
423 assert(uartDmaHandle != NULL); in UART_TransferDMAHandleIRQ()
425 uart_dma_handle_t *handle = (uart_dma_handle_t *)uartDmaHandle; in UART_TransferDMAHandleIRQ()
Dfsl_uart_dma.h174 void UART_TransferDMAHandleIRQ(UART_Type *base, void *uartDmaHandle);
/hal_nxp-3.5.0/mcux/mcux-sdk/components/serial_manager/
Dfsl_component_serial_port_uart.c85 UART_DMA_HANDLE_DEFINE(uartDmaHandle);
534 (hal_uart_dma_handle_t *)serialUartHandle->uartDmaHandle, &dmaConfig); in Serial_UartDmaInit()