Home
last modified time | relevance | path

Searched refs:rxRemainingBytes (Results 1 – 13 of 13) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexcomm/spi/
Dfsl_spi.c527 uint32_t tmp32, rxRemainingBytes, txRemainingBytes, dataWidth; in SPI_MasterTransferBlocking() local
546 rxRemainingBytes = (rxData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferBlocking()
569 while ((txRemainingBytes != 0U) || (rxRemainingBytes != 0U) || (toReceiveCount != 0U)) in SPI_MasterTransferBlocking()
582 if (rxRemainingBytes != 0U) in SPI_MasterTransferBlocking()
585 rxRemainingBytes--; in SPI_MasterTransferBlocking()
590 rxRemainingBytes--; in SPI_MasterTransferBlocking()
598 …((txRemainingBytes != 0U) || (rxRemainingBytes >= SPI_COUNT_TO_BYTES(dataWidth, toReceiveCount + 1… in SPI_MasterTransferBlocking()
621 if (rxRemainingBytes == SPI_COUNT_TO_BYTES(dataWidth, toReceiveCount + 1U)) in SPI_MasterTransferBlocking()
688 handle->rxRemainingBytes = (xfer->rxData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferNonBlocking()
865 *count = handle->totalByteCount - handle->rxRemainingBytes; in SPI_MasterTransferGetCount()
[all …]
Dfsl_spi.h286 volatile size_t rxRemainingBytes; /*!< Number of data to be received [in bytes] */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/ecspi/
Dfsl_ecspi.c202 …(ECSPI_GetRxFifoCount(base) < handle->rxRemainingBytes) ? ECSPI_GetRxFifoCount(base) : handle->rxR… in ECSPI_ReceiveTransfer()
209 handle->rxRemainingBytes -= dataCounts; in ECSPI_ReceiveTransfer()
743 handle->rxRemainingBytes = xfer->dataSize; in ECSPI_MasterTransferNonBlocking()
803 *count = handle->transferSize - handle->rxRemainingBytes; in ECSPI_MasterTransferGetCount()
838 handle->rxRemainingBytes = 0; in ECSPI_MasterTransferAbort()
863 if ((handle->rxRemainingBytes) != 0UL) in ECSPI_MasterTransferHandleIRQ()
875 if ((handle->txRemainingBytes == 0UL) && (handle->rxRemainingBytes == 0UL)) in ECSPI_MasterTransferHandleIRQ()
931 if ((handle->rxRemainingBytes) != 0UL) in ECSPI_SlaveTransferHandleIRQ()
943 if ((handle->txRemainingBytes == 0UL) && (handle->rxRemainingBytes == 0UL)) in ECSPI_SlaveTransferHandleIRQ()
Dfsl_ecspi.h217 volatile size_t rxRemainingBytes; /*!< Receive data remaining in bytes */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpc_minispi/
Dfsl_spi.c126 handle->rxRemainingBytes--; in SPI_ReceiveTransfer()
130 handle->rxRemainingBytes--; in SPI_ReceiveTransfer()
690 handle->rxRemainingBytes = (NULL == xfer->rxData) ? 0U : xfer->dataSize; in SPI_MasterTransferNonBlocking()
802 *count = handle->totalByteCount - handle->rxRemainingBytes; in SPI_MasterTransferGetCount()
822 handle->rxRemainingBytes = 0U; in SPI_MasterTransferAbort()
845 if ((handle->rxRemainingBytes) != 0U) in SPI_MasterTransferHandleIRQ()
853 if ((0U == handle->txRemainingBytes) && (0U == handle->rxRemainingBytes)) in SPI_MasterTransferHandleIRQ()
899 if (handle->rxRemainingBytes != 0U) in SPI_SlaveTransferHandleIRQ()
904 if ((0U == handle->txRemainingBytes) && (0U == handle->rxRemainingBytes)) in SPI_SlaveTransferHandleIRQ()
Dfsl_spi.h255 volatile size_t rxRemainingBytes; /*!< Number of data to be received [in bytes] */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/spi/
Dfsl_spi.c358 handle->rxRemainingBytes -= bytes; in SPI_ReceiveTransfer()
375 handle->rxRemainingBytes -= bytes; in SPI_ReceiveTransfer()
378 if (handle->rxRemainingBytes == ((uint32_t)handle->watermark * 2U)) in SPI_ReceiveTransfer()
1074 handle->rxRemainingBytes = xfer->dataSize; in SPI_MasterTransferNonBlocking()
1169 *count = handle->transferSize - handle->rxRemainingBytes; in SPI_MasterTransferGetCount()
1210 handle->rxRemainingBytes = 0; in SPI_MasterTransferAbort()
1225 if ((handle->rxRemainingBytes) != 0U) in SPI_MasterTransferHandleIRQ()
1236 ((handle->rxRemainingBytes - handle->txRemainingBytes) < handle->watermark)) in SPI_MasterTransferHandleIRQ()
1249 if ((handle->txRemainingBytes == 0U) && (handle->rxRemainingBytes == 0U)) in SPI_MasterTransferHandleIRQ()
1347 handle->rxRemainingBytes = (xfer->rxData == NULL) ? 0U : xfer->dataSize; in SPI_SlaveTransferNonBlocking()
[all …]
Dfsl_spi.h228 volatile size_t rxRemainingBytes; /*!< Receive data remaining in bytes */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/spi/
Dfsl_flexio_spi.c180 handle->rxRemainingBytes -= handle->bytePerFrame; in FLEXIO_SPI_TransferReceiveTransaction()
1174 handle->rxRemainingBytes = xfer->dataSize; in FLEXIO_SPI_MasterTransferNonBlocking()
1257 *count = handle->transferSize - handle->rxRemainingBytes; in FLEXIO_SPI_MasterTransferGetCount()
1284 handle->rxRemainingBytes = 0; in FLEXIO_SPI_MasterTransferAbort()
1317 if (handle->rxRemainingBytes != 0U) in FLEXIO_SPI_MasterTransferHandleIRQ()
1329 if ((handle->txRemainingBytes == 0U) && (handle->rxRemainingBytes == 0U)) in FLEXIO_SPI_MasterTransferHandleIRQ()
1490 handle->rxRemainingBytes = xfer->dataSize; in FLEXIO_SPI_SlaveTransferNonBlocking()
1531 … if (((status & (uint32_t)kFLEXIO_SPI_RxBufferFullFlag) != 0U) && (handle->rxRemainingBytes != 0U)) in FLEXIO_SPI_SlaveTransferHandleIRQ()
1537 if ((handle->txRemainingBytes == 0U) && (handle->rxRemainingBytes == 0U)) in FLEXIO_SPI_SlaveTransferHandleIRQ()
Dfsl_flexio_spi.h186 volatile size_t rxRemainingBytes; /*!< Receive data remaining in bytes. */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/spi/
Dfsl_spi_cmsis.c1129 cnt = SPI->handle->masterHandle.transferSize - SPI->handle->masterHandle.rxRemainingBytes; in SPI_InterruptGetCount()
1133 cnt = SPI->handle->slaveHandle.transferSize - SPI->handle->slaveHandle.rxRemainingBytes; in SPI_InterruptGetCount()
1256 …handle->masterHandle.txRemainingBytes > 0U) || (SPI->handle->masterHandle.rxRemainingBytes > 0U)) ? in SPI_InterruptGetStatus()
1263 …->handle->slaveHandle.txRemainingBytes > 0U) || (SPI->handle->slaveHandle.rxRemainingBytes > 0U)) ? in SPI_InterruptGetStatus()
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/ecspi/
Dfsl_ecspi_cmsis.c1025 uint32_t cnt = ecspi->handle->transferSize - ecspi->handle->rxRemainingBytes; in ECSPI_InterruptGetCount()
1151 …stat.busy = ((ecspi->handle->txRemainingBytes > 0U) || (ecspi->handle->rxRemainingBytes > 0U… in ECSPI_InterruptGetStatus()
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/flexcomm/
Dfsl_spi_cmsis.c1175 cnt = spi->handle->masterHandle.totalByteCount - spi->handle->masterHandle.rxRemainingBytes; in SPI_InterruptGetCount()
1180 cnt = spi->handle->slaveHandle.totalByteCount - spi->handle->slaveHandle.rxRemainingBytes; in SPI_InterruptGetCount()
1348 …handle->masterHandle.txRemainingBytes > 0U) || (spi->handle->masterHandle.rxRemainingBytes > 0U)) ? in SPI_InterruptGetStatus()
1356 …->handle->slaveHandle.txRemainingBytes > 0U) || (spi->handle->slaveHandle.rxRemainingBytes > 0U)) ? in SPI_InterruptGetStatus()