/hal_nxp-2.7.6/mcux/drivers/kinetis/ |
D | fsl_flexio_uart.c | 62 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() 541 handle->rxRingBufferHead = 0U; in FLEXIO_UART_TransferStartRingBuffer() 568 handle->rxRingBufferHead = 0U; in FLEXIO_UART_TransferStopRingBuffer() 868 uint16_t rxRingBufferHead; in FLEXIO_UART_TransferHandleIRQ() local 939 rxRingBufferHead = handle->rxRingBufferHead; in FLEXIO_UART_TransferHandleIRQ() 940 handle->rxRingBuffer[rxRingBufferHead] = in FLEXIO_UART_TransferHandleIRQ() 944 if ((uint32_t)handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in FLEXIO_UART_TransferHandleIRQ() [all …]
|
D | fsl_lpsci.c | 155 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()
|
D | fsl_uart.c | 158 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()
|
D | fsl_lpuart.c | 141 uint16_t tmpRxRingBufferHead = handle->rxRingBufferHead; in LPUART_TransferGetRxRingBufferLength() 1176 handle->rxRingBufferHead = 0U; in LPUART_TransferStartRingBuffer() 1209 handle->rxRingBufferHead = 0U; in LPUART_TransferStopRingBuffer() 1700 tpmRxRingBufferHead = handle->rxRingBufferHead; in LPUART_TransferHandleIRQ() 1716 if (((uint32_t)handle->rxRingBufferHead + 1U) == handle->rxRingBufferSize) in LPUART_TransferHandleIRQ() 1718 handle->rxRingBufferHead = 0U; in LPUART_TransferHandleIRQ() 1722 handle->rxRingBufferHead++; in LPUART_TransferHandleIRQ()
|
D | fsl_flexio_uart.h | 123 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
|
D | fsl_lpsci.h | 191 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
|
D | fsl_uart.h | 211 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
|
D | fsl_lpuart.h | 299 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
|
/hal_nxp-2.7.6/mcux/drivers/imx/ |
D | fsl_flexio_uart.c | 62 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 …]
|
D | fsl_lpuart.c | 141 uint16_t tmpRxRingBufferHead = handle->rxRingBufferHead; in LPUART_TransferGetRxRingBufferLength() 1176 handle->rxRingBufferHead = 0U; in LPUART_TransferStartRingBuffer() 1209 handle->rxRingBufferHead = 0U; in LPUART_TransferStopRingBuffer() 1700 tpmRxRingBufferHead = handle->rxRingBufferHead; in LPUART_TransferHandleIRQ() 1716 if (((uint32_t)handle->rxRingBufferHead + 1U) == handle->rxRingBufferSize) in LPUART_TransferHandleIRQ() 1718 handle->rxRingBufferHead = 0U; in LPUART_TransferHandleIRQ() 1722 handle->rxRingBufferHead++; in LPUART_TransferHandleIRQ()
|
D | fsl_flexio_uart.h | 134 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
|
D | fsl_lpuart.h | 299 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
|
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/ |
D | fsl_usart.c | 83 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() 1099 handle->rxRingBuffer[handle->rxRingBufferHead] = rxdata; in USART_TransferHandleIRQ() 1101 if ((size_t)handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in USART_TransferHandleIRQ() 1103 handle->rxRingBufferHead = 0U; in USART_TransferHandleIRQ() 1107 handle->rxRingBufferHead++; in USART_TransferHandleIRQ()
|
D | fsl_usart.h | 196 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
|
/hal_nxp-2.7.6/mcux/drivers/lpc/ |
D | fsl_usart.c | 83 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() 1099 handle->rxRingBuffer[handle->rxRingBufferHead] = rxdata; in USART_TransferHandleIRQ() 1101 if ((size_t)handle->rxRingBufferHead + 1U == handle->rxRingBufferSize) in USART_TransferHandleIRQ() 1103 handle->rxRingBufferHead = 0U; in USART_TransferHandleIRQ() 1107 handle->rxRingBufferHead++; in USART_TransferHandleIRQ()
|
D | fsl_usart.h | 196 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
|
/hal_nxp-2.7.6/mcux/drivers/imx8/ |
D | fsl_uart.c | 136 if (handle->rxRingBufferTail > handle->rxRingBufferHead) in UART_TransferGetRxRingBufferLength() 138 …size = (size_t)handle->rxRingBufferHead + handle->rxRingBufferSize - (size_t)handle->rxRingBufferT… in UART_TransferGetRxRingBufferLength() 142 size = (size_t)handle->rxRingBufferHead - (size_t)handle->rxRingBufferTail; in UART_TransferGetRxRingBufferLength() 911 handle->rxRingBufferHead = 0U; in UART_TransferStartRingBuffer() 941 handle->rxRingBufferHead = 0U; in UART_TransferStopRingBuffer() 1356 handle->rxRingBuffer[handle->rxRingBufferHead] = in UART_TransferHandleIRQ() 1360 if (handle->rxRingBufferHead + 1U == (uint16_t)handle->rxRingBufferSize) in UART_TransferHandleIRQ() 1362 handle->rxRingBufferHead = 0U; in UART_TransferHandleIRQ() 1366 handle->rxRingBufferHead++; in UART_TransferHandleIRQ() 1435 handle->rxRingBuffer[handle->rxRingBufferHead] = UART_ReadByte(base); in UART_TransferHandleIRQ() [all …]
|
D | fsl_uart.h | 208 …volatile uint16_t rxRingBufferHead; /*!< Index for the driver to store received data into ring buf… member
|