Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexio/uart/
Dfsl_flexio_uart.c62 uint16_t rxRingBufferHead = handle->rxRingBufferHead; 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()
559 handle->rxRingBufferHead = 0U; in FLEXIO_UART_TransferStartRingBuffer()
586 handle->rxRingBufferHead = 0U; in FLEXIO_UART_TransferStopRingBuffer()
886 uint16_t rxRingBufferHead; in FLEXIO_UART_TransferHandleIRQ() local
957 rxRingBufferHead = handle->rxRingBufferHead; in FLEXIO_UART_TransferHandleIRQ()
958 handle->rxRingBuffer[rxRingBufferHead] = in FLEXIO_UART_TransferHandleIRQ()
962 if ((uint32_t)handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in FLEXIO_UART_TransferHandleIRQ()
[all …]
Dfsl_flexio_uart.h134 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexcomm/usart/
Dfsl_usart.c83 uint16_t rxRingBufferHead = handle->rxRingBufferHead; 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()
142 handle->rxRingBufferHead = 0U; in USART_TransferStartRingBuffer()
168 handle->rxRingBufferHead = 0U; in USART_TransferStopRingBuffer()
1237 handle->rxRingBuffer[handle->rxRingBufferHead] = rxdata; in USART_TransferHandleIRQ()
1239 if ((size_t)handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in USART_TransferHandleIRQ()
1241 handle->rxRingBufferHead = 0U; in USART_TransferHandleIRQ()
1245 handle->rxRingBufferHead++; in USART_TransferHandleIRQ()
Dfsl_usart.h265 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/iuart/
Dfsl_uart.c133 if (handle->rxRingBufferTail > handle->rxRingBufferHead) in UART_TransferGetRxRingBufferLength()
135 …size = (size_t)handle->rxRingBufferHead + handle->rxRingBufferSize - (size_t)handle->rxRingBufferT… in UART_TransferGetRxRingBufferLength()
139 size = (size_t)handle->rxRingBufferHead - (size_t)handle->rxRingBufferTail; in UART_TransferGetRxRingBufferLength()
902 handle->rxRingBufferHead = 0U; in UART_TransferStartRingBuffer()
932 handle->rxRingBufferHead = 0U; in UART_TransferStopRingBuffer()
1348 handle->rxRingBuffer[handle->rxRingBufferHead] = in UART_TransferHandleIRQ()
1352 if (handle->rxRingBufferHead + 1U == (uint16_t)handle->rxRingBufferSize) in UART_TransferHandleIRQ()
1354 handle->rxRingBufferHead = 0U; in UART_TransferHandleIRQ()
1358 handle->rxRingBufferHead++; in UART_TransferHandleIRQ()
1427 handle->rxRingBuffer[handle->rxRingBufferHead] = UART_ReadByte(base); in UART_TransferHandleIRQ()
[all …]
Dfsl_uart.h220 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
/hal_nxp-3.5.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()
616 handle->rxRingBufferHead = 0U; in LPSCI_TransferStartRingBuffer()
647 handle->rxRingBufferHead = 0U; in LPSCI_TransferStopRingBuffer()
978 handle->rxRingBuffer[handle->rxRingBufferHead] = base->D; in LPSCI_TransferHandleIRQ()
981 if (handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in LPSCI_TransferHandleIRQ()
983 handle->rxRingBufferHead = 0U; in LPSCI_TransferHandleIRQ()
987 handle->rxRingBufferHead++; in LPSCI_TransferHandleIRQ()
Dfsl_lpsci.h191 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpc_miniusart/
Dfsl_usart.c95 uint16_t tmprxRingBufferHead = handle->rxRingBufferHead; in USART_TransferGetRxRingBufferLength()
153 handle->rxRingBufferHead = 0U; in USART_TransferStartRingBuffer()
183 handle->rxRingBufferHead = 0U; in USART_TransferStopRingBuffer()
972 handle->rxRingBuffer[handle->rxRingBufferHead] = tmpdata; in USART_TransferHandleIRQ()
975 if ((size_t)handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in USART_TransferHandleIRQ()
977 handle->rxRingBufferHead = 0U; in USART_TransferHandleIRQ()
981 handle->rxRingBufferHead++; in USART_TransferHandleIRQ()
Dfsl_usart.h251 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/uart/
Dfsl_uart.c158 uint16_t rxRingBufferHead = handle->rxRingBufferHead; 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()
988 handle->rxRingBufferHead = 0U; in UART_TransferStartRingBuffer()
1033 handle->rxRingBufferHead = 0U; in UART_TransferStopRingBuffer()
1683 handle->rxRingBuffer[handle->rxRingBufferHead] = tmpdata; in UART_TransferHandleIRQ()
1686 if ((size_t)handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in UART_TransferHandleIRQ()
1688 handle->rxRingBufferHead = 0U; in UART_TransferHandleIRQ()
1692 handle->rxRingBufferHead++; in UART_TransferHandleIRQ()
Dfsl_uart.h211 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpuart/
Dfsl_lpuart.c201 uint16_t tmpRxRingBufferHead = handle->rxRingBufferHead; in LPUART_TransferGetRxRingBufferLength()
1276 handle->rxRingBufferHead = 0U; in LPUART_TransferStartRingBuffer()
1309 handle->rxRingBufferHead = 0U; in LPUART_TransferStopRingBuffer()
1772 tpmRxRingBufferHead = handle->rxRingBufferHead; in LPUART_TransferHandleReceiveDataFull()
1788 if (((uint32_t)handle->rxRingBufferHead + 1U) == handle->rxRingBufferSize) in LPUART_TransferHandleReceiveDataFull()
1790 handle->rxRingBufferHead = 0U; in LPUART_TransferHandleReceiveDataFull()
1794 handle->rxRingBufferHead++; in LPUART_TransferHandleReceiveDataFull()
Dfsl_lpuart.h299 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member