Home
last modified time | relevance | path

Searched refs:rxRingBufferTail (Results 1 – 18 of 18) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_flexio_uart.c63 uint16_t rxRingBufferTail = handle->rxRingBufferTail; in FLEXIO_UART_TransferGetRxRingBufferLength() local
65 if (rxRingBufferTail > rxRingBufferHead) in FLEXIO_UART_TransferGetRxRingBufferLength()
67 size = (size_t)rxRingBufferHead + handle->rxRingBufferSize - (size_t)rxRingBufferTail; in FLEXIO_UART_TransferGetRxRingBufferLength()
71 size = (size_t)rxRingBufferHead - (size_t)rxRingBufferTail; in FLEXIO_UART_TransferGetRxRingBufferLength()
542 handle->rxRingBufferTail = 0U; in FLEXIO_UART_TransferStartRingBuffer()
569 handle->rxRingBufferTail = 0U; in FLEXIO_UART_TransferStopRingBuffer()
748 … xfer->data[bytesCurrentReceived++] = handle->rxRingBuffer[handle->rxRingBufferTail]; in FLEXIO_UART_TransferReceiveNonBlocking()
751 if ((uint32_t)handle->rxRingBufferTail + 1U == handle->rxRingBufferSize) in FLEXIO_UART_TransferReceiveNonBlocking()
753 handle->rxRingBufferTail = 0U; in FLEXIO_UART_TransferReceiveNonBlocking()
757 handle->rxRingBufferTail++; in FLEXIO_UART_TransferReceiveNonBlocking()
[all …]
Dfsl_lpsci.c155 if (handle->rxRingBufferTail > handle->rxRingBufferHead) in LPSCI_TransferGetRxRingBufferLength()
157 … size = (size_t)(handle->rxRingBufferHead + handle->rxRingBufferSize - handle->rxRingBufferTail); in LPSCI_TransferGetRxRingBufferLength()
161 size = (size_t)(handle->rxRingBufferHead - handle->rxRingBufferTail); in LPSCI_TransferGetRxRingBufferLength()
617 handle->rxRingBufferTail = 0U; in LPSCI_TransferStartRingBuffer()
648 handle->rxRingBufferTail = 0U; in LPSCI_TransferStopRingBuffer()
762 … xfer->data[bytesCurrentReceived++] = handle->rxRingBuffer[handle->rxRingBufferTail]; in LPSCI_TransferReceiveNonBlocking()
765 if (handle->rxRingBufferTail + 1U == handle->rxRingBufferSize) in LPSCI_TransferReceiveNonBlocking()
767 handle->rxRingBufferTail = 0U; in LPSCI_TransferReceiveNonBlocking()
771 handle->rxRingBufferTail++; in LPSCI_TransferReceiveNonBlocking()
967 if (handle->rxRingBufferTail + 1U == handle->rxRingBufferSize) in LPSCI_TransferHandleIRQ()
[all …]
Dfsl_uart.c159 uint16_t rxRingBufferTail = handle->rxRingBufferTail; in UART_TransferGetRxRingBufferLength() local
161 if (rxRingBufferTail > rxRingBufferHead) in UART_TransferGetRxRingBufferLength()
163 size = (size_t)rxRingBufferHead + handle->rxRingBufferSize - (size_t)rxRingBufferTail; in UART_TransferGetRxRingBufferLength()
167 size = (size_t)rxRingBufferHead - (size_t)rxRingBufferTail; in UART_TransferGetRxRingBufferLength()
989 handle->rxRingBufferTail = 0U; in UART_TransferStartRingBuffer()
1034 handle->rxRingBufferTail = 0U; in UART_TransferStopRingBuffer()
1236 … xfer->rxData[bytesCurrentReceived++] = handle->rxRingBuffer[handle->rxRingBufferTail]; in UART_TransferReceiveNonBlocking()
1239 if ((size_t)handle->rxRingBufferTail + 1U == handle->rxRingBufferSize) in UART_TransferReceiveNonBlocking()
1241 handle->rxRingBufferTail = 0U; in UART_TransferReceiveNonBlocking()
1245 handle->rxRingBufferTail++; in UART_TransferReceiveNonBlocking()
[all …]
Dfsl_lpuart.c140 uint16_t tmpRxRingBufferTail = handle->rxRingBufferTail; in LPUART_TransferGetRxRingBufferLength()
1177 handle->rxRingBufferTail = 0U; in LPUART_TransferStartRingBuffer()
1210 handle->rxRingBufferTail = 0U; in LPUART_TransferStopRingBuffer()
1419 … xfer->rxData[bytesCurrentReceived] = handle->rxRingBuffer[handle->rxRingBufferTail]; in LPUART_TransferReceiveNonBlocking()
1423 if (((uint32_t)handle->rxRingBufferTail + 1U) == handle->rxRingBufferSize) in LPUART_TransferReceiveNonBlocking()
1425 handle->rxRingBufferTail = 0U; in LPUART_TransferReceiveNonBlocking()
1429 handle->rxRingBufferTail++; in LPUART_TransferReceiveNonBlocking()
1689 if (((uint32_t)handle->rxRingBufferTail + 1U) == handle->rxRingBufferSize) in LPUART_TransferHandleIRQ()
1691 handle->rxRingBufferTail = 0U; in LPUART_TransferHandleIRQ()
1695 handle->rxRingBufferTail++; in LPUART_TransferHandleIRQ()
Dfsl_flexio_uart.h124 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
Dfsl_lpsci.h192 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
Dfsl_uart.h212 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
Dfsl_lpuart.h300 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_flexio_uart.c63 uint16_t rxRingBufferTail = handle->rxRingBufferTail; in FLEXIO_UART_TransferGetRxRingBufferLength() local
65 if (rxRingBufferTail > rxRingBufferHead) in FLEXIO_UART_TransferGetRxRingBufferLength()
67 size = (size_t)rxRingBufferHead + handle->rxRingBufferSize - (size_t)rxRingBufferTail; in FLEXIO_UART_TransferGetRxRingBufferLength()
71 size = (size_t)rxRingBufferHead - (size_t)rxRingBufferTail; in FLEXIO_UART_TransferGetRxRingBufferLength()
560 handle->rxRingBufferTail = 0U; in FLEXIO_UART_TransferStartRingBuffer()
587 handle->rxRingBufferTail = 0U; in FLEXIO_UART_TransferStopRingBuffer()
766 … xfer->rxData[bytesCurrentReceived++] = handle->rxRingBuffer[handle->rxRingBufferTail]; in FLEXIO_UART_TransferReceiveNonBlocking()
769 if ((uint32_t)handle->rxRingBufferTail + 1U == handle->rxRingBufferSize) in FLEXIO_UART_TransferReceiveNonBlocking()
771 handle->rxRingBufferTail = 0U; in FLEXIO_UART_TransferReceiveNonBlocking()
775 handle->rxRingBufferTail++; in FLEXIO_UART_TransferReceiveNonBlocking()
[all …]
Dfsl_lpuart.c140 uint16_t tmpRxRingBufferTail = handle->rxRingBufferTail; in LPUART_TransferGetRxRingBufferLength()
1177 handle->rxRingBufferTail = 0U; in LPUART_TransferStartRingBuffer()
1210 handle->rxRingBufferTail = 0U; in LPUART_TransferStopRingBuffer()
1419 … xfer->rxData[bytesCurrentReceived] = handle->rxRingBuffer[handle->rxRingBufferTail]; in LPUART_TransferReceiveNonBlocking()
1423 if (((uint32_t)handle->rxRingBufferTail + 1U) == handle->rxRingBufferSize) in LPUART_TransferReceiveNonBlocking()
1425 handle->rxRingBufferTail = 0U; in LPUART_TransferReceiveNonBlocking()
1429 handle->rxRingBufferTail++; in LPUART_TransferReceiveNonBlocking()
1689 if (((uint32_t)handle->rxRingBufferTail + 1U) == handle->rxRingBufferSize) in LPUART_TransferHandleIRQ()
1691 handle->rxRingBufferTail = 0U; in LPUART_TransferHandleIRQ()
1695 handle->rxRingBufferTail++; in LPUART_TransferHandleIRQ()
Dfsl_flexio_uart.h135 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
Dfsl_lpuart.h300 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_usart.c84 uint16_t rxRingBufferTail = handle->rxRingBufferTail; in USART_TransferGetRxRingBufferLength() local
86 if (rxRingBufferTail > rxRingBufferHead) in USART_TransferGetRxRingBufferLength()
88 size = (size_t)rxRingBufferHead + handle->rxRingBufferSize - (size_t)rxRingBufferTail; in USART_TransferGetRxRingBufferLength()
92 size = (size_t)rxRingBufferHead - (size_t)rxRingBufferTail; in USART_TransferGetRxRingBufferLength()
143 handle->rxRingBufferTail = 0U; in USART_TransferStartRingBuffer()
169 handle->rxRingBufferTail = 0U; in USART_TransferStopRingBuffer()
900 … xfer->rxData[bytesCurrentReceived++] = handle->rxRingBuffer[handle->rxRingBufferTail]; in USART_TransferReceiveNonBlocking()
902 if ((size_t)handle->rxRingBufferTail + 1U == handle->rxRingBufferSize) in USART_TransferReceiveNonBlocking()
904 handle->rxRingBufferTail = 0U; in USART_TransferReceiveNonBlocking()
908 handle->rxRingBufferTail++; in USART_TransferReceiveNonBlocking()
[all …]
Dfsl_usart.h197 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_usart.c84 uint16_t rxRingBufferTail = handle->rxRingBufferTail; in USART_TransferGetRxRingBufferLength() local
86 if (rxRingBufferTail > rxRingBufferHead) in USART_TransferGetRxRingBufferLength()
88 size = (size_t)rxRingBufferHead + handle->rxRingBufferSize - (size_t)rxRingBufferTail; in USART_TransferGetRxRingBufferLength()
92 size = (size_t)rxRingBufferHead - (size_t)rxRingBufferTail; in USART_TransferGetRxRingBufferLength()
143 handle->rxRingBufferTail = 0U; in USART_TransferStartRingBuffer()
169 handle->rxRingBufferTail = 0U; in USART_TransferStopRingBuffer()
900 … xfer->rxData[bytesCurrentReceived++] = handle->rxRingBuffer[handle->rxRingBufferTail]; in USART_TransferReceiveNonBlocking()
902 if ((size_t)handle->rxRingBufferTail + 1U == handle->rxRingBufferSize) in USART_TransferReceiveNonBlocking()
904 handle->rxRingBufferTail = 0U; in USART_TransferReceiveNonBlocking()
908 handle->rxRingBufferTail++; in USART_TransferReceiveNonBlocking()
[all …]
Dfsl_usart.h197 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_uart.c136 if (handle->rxRingBufferTail > handle->rxRingBufferHead) in UART_TransferGetRxRingBufferLength()
138 …e = (size_t)handle->rxRingBufferHead + handle->rxRingBufferSize - (size_t)handle->rxRingBufferTail; in UART_TransferGetRxRingBufferLength()
142 size = (size_t)handle->rxRingBufferHead - (size_t)handle->rxRingBufferTail; in UART_TransferGetRxRingBufferLength()
912 handle->rxRingBufferTail = 0U; in UART_TransferStartRingBuffer()
942 handle->rxRingBufferTail = 0U; in UART_TransferStopRingBuffer()
1122 … xfer->data[bytesCurrentReceived++] = handle->rxRingBuffer[handle->rxRingBufferTail]; in UART_TransferReceiveNonBlocking()
1125 if (handle->rxRingBufferTail + 1U == (uint16_t)handle->rxRingBufferSize) in UART_TransferReceiveNonBlocking()
1127 handle->rxRingBufferTail = 0U; in UART_TransferReceiveNonBlocking()
1131 handle->rxRingBufferTail++; in UART_TransferReceiveNonBlocking()
1345 if (handle->rxRingBufferTail + 1U == (uint16_t)handle->rxRingBufferSize) in UART_TransferHandleIRQ()
[all …]
Dfsl_uart.h209 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member