Home
last modified time | relevance | path

Searched refs:lpuartPrivateHandle (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpuart/
Dfsl_lpuart_dma.c132 lpuart_dma_private_handle_t *lpuartPrivateHandle = (lpuart_dma_private_handle_t *)param; in LPUART_TransferSendDMACallback() local
135 LPUART_EnableTxDMA(lpuartPrivateHandle->base, false); in LPUART_TransferSendDMACallback()
138 DMA_DisableInterrupts(lpuartPrivateHandle->handle->txDmaHandle->base, in LPUART_TransferSendDMACallback()
139 lpuartPrivateHandle->handle->txDmaHandle->channel); in LPUART_TransferSendDMACallback()
142 …LPUART_EnableInterrupts(lpuartPrivateHandle->base, (uint32_t)kLPUART_TransmissionCompleteInterrupt… in LPUART_TransferSendDMACallback()
150 lpuart_dma_private_handle_t *lpuartPrivateHandle = (lpuart_dma_private_handle_t *)param; in LPUART_TransferReceiveDMACallback() local
153 LPUART_EnableRxDMA(lpuartPrivateHandle->base, false); in LPUART_TransferReceiveDMACallback()
156 DMA_DisableInterrupts(lpuartPrivateHandle->handle->rxDmaHandle->base, in LPUART_TransferReceiveDMACallback()
157 lpuartPrivateHandle->handle->rxDmaHandle->channel); in LPUART_TransferReceiveDMACallback()
159 lpuartPrivateHandle->handle->rxState = (uint8_t)kLPUART_RxIdle; in LPUART_TransferReceiveDMACallback()
[all …]
Dfsl_lpuart_edma.c142 lpuart_edma_private_handle_t *lpuartPrivateHandle = (lpuart_edma_private_handle_t *)param; in LPUART_SendEDMACallback() local
154 LPUART_EnableTxDMA(lpuartPrivateHandle->base, false); in LPUART_SendEDMACallback()
160 …LPUART_EnableInterrupts(lpuartPrivateHandle->base, (uint32_t)kLPUART_TransmissionCompleteInterrupt… in LPUART_SendEDMACallback()
168 lpuart_edma_private_handle_t *lpuartPrivateHandle = (lpuart_edma_private_handle_t *)param; in LPUART_ReceiveEDMACallback() local
180 LPUART_TransferAbortReceiveEDMA(lpuartPrivateHandle->base, lpuartPrivateHandle->handle); in LPUART_ReceiveEDMACallback()
182 if (NULL != lpuartPrivateHandle->handle->callback) in LPUART_ReceiveEDMACallback()
184lpuartPrivateHandle->handle->callback(lpuartPrivateHandle->base, lpuartPrivateHandle->handle, in LPUART_ReceiveEDMACallback()
185 … kStatus_LPUART_RxIdle, lpuartPrivateHandle->handle->userData); in LPUART_ReceiveEDMACallback()