Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/uart/
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_flexio_uart.h135 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexcomm/usart/
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()
988 … xfer->rxData[bytesCurrentReceived++] = handle->rxRingBuffer[handle->rxRingBufferTail]; in USART_TransferReceiveNonBlocking()
990 if ((size_t)handle->rxRingBufferTail + 1U == handle->rxRingBufferSize) in USART_TransferReceiveNonBlocking()
992 handle->rxRingBufferTail = 0U; in USART_TransferReceiveNonBlocking()
996 handle->rxRingBufferTail++; in USART_TransferReceiveNonBlocking()
[all …]
Dfsl_usart.h266 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpsci/
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_lpsci.h192 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpc_miniusart/
Dfsl_usart.c94 uint16_t tmprxRingBufferTail = handle->rxRingBufferTail; in USART_TransferGetRxRingBufferLength()
154 handle->rxRingBufferTail = 0U; in USART_TransferStartRingBuffer()
184 handle->rxRingBufferTail = 0U; in USART_TransferStopRingBuffer()
774 … xfer->rxData[bytesCurrentReceived++] = handle->rxRingBuffer[handle->rxRingBufferTail]; in USART_TransferReceiveNonBlocking()
776 if ((size_t)handle->rxRingBufferTail + 1U == handle->rxRingBufferSize) in USART_TransferReceiveNonBlocking()
778 handle->rxRingBufferTail = 0U; in USART_TransferReceiveNonBlocking()
782 handle->rxRingBufferTail++; in USART_TransferReceiveNonBlocking()
962 if ((size_t)handle->rxRingBufferTail + 1U == handle->rxRingBufferSize) in USART_TransferHandleIRQ()
964 handle->rxRingBufferTail = 0U; in USART_TransferHandleIRQ()
968 handle->rxRingBufferTail++; in USART_TransferHandleIRQ()
Dfsl_usart.h252 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/iuart/
Dfsl_uart.c133 if (handle->rxRingBufferTail > handle->rxRingBufferHead) in UART_TransferGetRxRingBufferLength()
135 …e = (size_t)handle->rxRingBufferHead + handle->rxRingBufferSize - (size_t)handle->rxRingBufferTail; in UART_TransferGetRxRingBufferLength()
139 size = (size_t)handle->rxRingBufferHead - (size_t)handle->rxRingBufferTail; in UART_TransferGetRxRingBufferLength()
903 handle->rxRingBufferTail = 0U; in UART_TransferStartRingBuffer()
933 handle->rxRingBufferTail = 0U; in UART_TransferStopRingBuffer()
1113 … xfer->rxData[bytesCurrentReceived++] = handle->rxRingBuffer[handle->rxRingBufferTail]; in UART_TransferReceiveNonBlocking()
1116 if (handle->rxRingBufferTail + 1U == (uint16_t)handle->rxRingBufferSize) in UART_TransferReceiveNonBlocking()
1118 handle->rxRingBufferTail = 0U; in UART_TransferReceiveNonBlocking()
1122 handle->rxRingBufferTail++; in UART_TransferReceiveNonBlocking()
1337 if (handle->rxRingBufferTail + 1U == (uint16_t)handle->rxRingBufferSize) in UART_TransferHandleIRQ()
[all …]
Dfsl_uart.h221 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/uart/
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_uart.h212 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpuart/
Dfsl_lpuart.c200 uint16_t tmpRxRingBufferTail = handle->rxRingBufferTail; in LPUART_TransferGetRxRingBufferLength()
1277 handle->rxRingBufferTail = 0U; in LPUART_TransferStartRingBuffer()
1310 handle->rxRingBufferTail = 0U; in LPUART_TransferStopRingBuffer()
1519 … xfer->rxData[bytesCurrentReceived] = handle->rxRingBuffer[handle->rxRingBufferTail]; in LPUART_TransferReceiveNonBlocking()
1523 if (((uint32_t)handle->rxRingBufferTail + 1U) == handle->rxRingBufferSize) in LPUART_TransferReceiveNonBlocking()
1525 handle->rxRingBufferTail = 0U; in LPUART_TransferReceiveNonBlocking()
1529 handle->rxRingBufferTail++; in LPUART_TransferReceiveNonBlocking()
1761 if (((uint32_t)handle->rxRingBufferTail + 1U) == handle->rxRingBufferSize) in LPUART_TransferHandleReceiveDataFull()
1763 handle->rxRingBufferTail = 0U; in LPUART_TransferHandleReceiveDataFull()
1767 handle->rxRingBufferTail++; in LPUART_TransferHandleReceiveDataFull()
Dfsl_lpuart.h300 volatile uint16_t rxRingBufferTail; /*!< Index for the user to get data from the ring buffer. */ member