Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexio/uart/
Dfsl_flexio_uart_edma.c81 … flexio_uart_edma_private_handle_t *uartPrivateHandle = (flexio_uart_edma_private_handle_t *)param; in FLEXIO_UART_TransferSendEDMACallback() local
83 assert(uartPrivateHandle->handle != NULL); in FLEXIO_UART_TransferSendEDMACallback()
91 FLEXIO_UART_TransferAbortSendEDMA(uartPrivateHandle->base, uartPrivateHandle->handle); in FLEXIO_UART_TransferSendEDMACallback()
93 if (uartPrivateHandle->handle->callback != NULL) in FLEXIO_UART_TransferSendEDMACallback()
95 uartPrivateHandle->handle->callback(uartPrivateHandle->base, uartPrivateHandle->handle, in FLEXIO_UART_TransferSendEDMACallback()
96 … kStatus_FLEXIO_UART_TxIdle, uartPrivateHandle->handle->userData); in FLEXIO_UART_TransferSendEDMACallback()
106 … flexio_uart_edma_private_handle_t *uartPrivateHandle = (flexio_uart_edma_private_handle_t *)param; in FLEXIO_UART_TransferReceiveEDMACallback() local
108 assert(uartPrivateHandle->handle != NULL); in FLEXIO_UART_TransferReceiveEDMACallback()
117 FLEXIO_UART_TransferAbortReceiveEDMA(uartPrivateHandle->base, uartPrivateHandle->handle); in FLEXIO_UART_TransferReceiveEDMACallback()
119 if (uartPrivateHandle->handle->callback != NULL) in FLEXIO_UART_TransferReceiveEDMACallback()
[all …]
Dfsl_flexio_uart_dma.c78 flexio_uart_dma_private_handle_t *uartPrivateHandle = (flexio_uart_dma_private_handle_t *)param; in FLEXIO_UART_TransferSendDMACallback() local
81 FLEXIO_UART_EnableTxDMA(uartPrivateHandle->base, false); in FLEXIO_UART_TransferSendDMACallback()
86 uartPrivateHandle->handle->txState = (uint8_t)kFLEXIO_UART_TxIdle; in FLEXIO_UART_TransferSendDMACallback()
88 if (uartPrivateHandle->handle->callback != NULL) in FLEXIO_UART_TransferSendDMACallback()
90 uartPrivateHandle->handle->callback(uartPrivateHandle->base, uartPrivateHandle->handle, in FLEXIO_UART_TransferSendDMACallback()
91 … kStatus_FLEXIO_UART_TxIdle, uartPrivateHandle->handle->userData); in FLEXIO_UART_TransferSendDMACallback()
97 flexio_uart_dma_private_handle_t *uartPrivateHandle = (flexio_uart_dma_private_handle_t *)param; in FLEXIO_UART_TransferReceiveDMACallback() local
100 FLEXIO_UART_EnableRxDMA(uartPrivateHandle->base, false); in FLEXIO_UART_TransferReceiveDMACallback()
105 uartPrivateHandle->handle->rxState = (uint8_t)kFLEXIO_UART_RxIdle; in FLEXIO_UART_TransferReceiveDMACallback()
107 if (uartPrivateHandle->handle->callback != NULL) in FLEXIO_UART_TransferReceiveDMACallback()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/iuart/
Dfsl_uart_sdma.c76 uart_sdma_private_handle_t *uartPrivateHandle = (uart_sdma_private_handle_t *)param; in UART_SendSDMACallback() local
81 UART_EnableTxDMA(uartPrivateHandle->base, false); in UART_SendSDMACallback()
87 UART_EnableInterrupts(uartPrivateHandle->base, (uint32_t)kUART_TxEmptyEnable); in UART_SendSDMACallback()
95 uart_sdma_private_handle_t *uartPrivateHandle = (uart_sdma_private_handle_t *)param; in UART_ReceiveSDMACallback() local
100 UART_TransferAbortReceiveSDMA(uartPrivateHandle->base, uartPrivateHandle->handle); in UART_ReceiveSDMACallback()
102 if (uartPrivateHandle->handle->callback != NULL) in UART_ReceiveSDMACallback()
104uartPrivateHandle->handle->callback(uartPrivateHandle->base, uartPrivateHandle->handle, kStatus_UA… in UART_ReceiveSDMACallback()
105 uartPrivateHandle->handle->userData); in UART_ReceiveSDMACallback()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/uart/
Dfsl_uart_edma.c104 uart_edma_private_handle_t *uartPrivateHandle = (uart_edma_private_handle_t *)param; in UART_SendEDMACallback() local
113 UART_EnableTxDMA(uartPrivateHandle->base, false); in UART_SendEDMACallback()
118 …UART_EnableInterrupts(uartPrivateHandle->base, (uint32_t)kUART_TransmissionCompleteInterruptEnable… in UART_SendEDMACallback()
126 uart_edma_private_handle_t *uartPrivateHandle = (uart_edma_private_handle_t *)param; in UART_ReceiveEDMACallback() local
135 UART_TransferAbortReceiveEDMA(uartPrivateHandle->base, uartPrivateHandle->handle); in UART_ReceiveEDMACallback()
137 if (uartPrivateHandle->handle->callback != NULL) in UART_ReceiveEDMACallback()
139uartPrivateHandle->handle->callback(uartPrivateHandle->base, uartPrivateHandle->handle, kStatus_UA… in UART_ReceiveEDMACallback()
140 uartPrivateHandle->handle->userData); in UART_ReceiveEDMACallback()
Dfsl_uart_dma.c105 uart_dma_private_handle_t *uartPrivateHandle = (uart_dma_private_handle_t *)param; in UART_TransferSendDMACallback() local
108 UART_EnableTxDMA(uartPrivateHandle->base, false); in UART_TransferSendDMACallback()
114 …UART_EnableInterrupts(uartPrivateHandle->base, (uint32_t)kUART_TransmissionCompleteInterruptEnable… in UART_TransferSendDMACallback()
122 uart_dma_private_handle_t *uartPrivateHandle = (uart_dma_private_handle_t *)param; in UART_TransferReceiveDMACallback() local
125 UART_EnableRxDMA(uartPrivateHandle->base, false); in UART_TransferReceiveDMACallback()
130 uartPrivateHandle->handle->rxState = (uint8_t)kUART_RxIdle; in UART_TransferReceiveDMACallback()
132 if (uartPrivateHandle->handle->callback != NULL) in UART_TransferReceiveDMACallback()
134uartPrivateHandle->handle->callback(uartPrivateHandle->base, uartPrivateHandle->handle, kStatus_UA… in UART_TransferReceiveDMACallback()
135 uartPrivateHandle->handle->userData); in UART_TransferReceiveDMACallback()