Home
last modified time | relevance | path

Searched refs:txRemainingBytes (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
545 txRemainingBytes = (txData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferBlocking()
569 while ((txRemainingBytes != 0U) || (rxRemainingBytes != 0U) || (toReceiveCount != 0U)) in SPI_MasterTransferBlocking()
598 …((txRemainingBytes != 0U) || (rxRemainingBytes >= SPI_COUNT_TO_BYTES(dataWidth, toReceiveCount + 1… in SPI_MasterTransferBlocking()
601 if (txRemainingBytes != 0U) in SPI_MasterTransferBlocking()
604 txRemainingBytes--; in SPI_MasterTransferBlocking()
609 txRemainingBytes--; in SPI_MasterTransferBlocking()
611 if (txRemainingBytes == 0U) in SPI_MasterTransferBlocking()
687 handle->txRemainingBytes = (xfer->txData != NULL) ? xfer->dataSize : 0U; in SPI_MasterTransferNonBlocking()
887 handle->txRemainingBytes = 0U; in SPI_MasterTransferAbort()
[all …]
Dfsl_spi.h285 volatile size_t txRemainingBytes; /*!< Number of data to be transmitted [in bytes] */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/spi/
Dfsl_spi.c265 bytestoTransfer = (uint8_t)MIN(handle->txRemainingBytes, ((uint32_t)fifosize * 2U)); in SPI_SendInitialTransfer()
276 handle->txRemainingBytes -= bytestoTransfer; in SPI_SendInitialTransfer()
298 handle->txRemainingBytes -= bytes; in SPI_SendTransfer()
304 while (((base->S & SPI_S_SPTEF_MASK) != 0U) && (handle->txRemainingBytes >= bytes)) in SPI_SendTransfer()
313 handle->txRemainingBytes -= bytes; in SPI_SendTransfer()
325 if (handle->txRemainingBytes < 8U) in SPI_SendTransfer()
327 bytestoTransfer = (uint8_t)handle->txRemainingBytes; in SPI_SendTransfer()
337 handle->txRemainingBytes -= bytestoTransfer; in SPI_SendTransfer()
1073 handle->txRemainingBytes = xfer->dataSize; in SPI_MasterTransferNonBlocking()
1173 *count = handle->transferSize - handle->txRemainingBytes; in SPI_MasterTransferGetCount()
[all …]
Dfsl_spi.h227 volatile size_t txRemainingBytes; /*!< Send data remaining in bytes */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpc_minispi/
Dfsl_spi.c79 handle->txRemainingBytes--; in SPI_SendTransfer()
83 handle->txRemainingBytes--; in SPI_SendTransfer()
89 handle->txRemainingBytes--; in SPI_SendTransfer()
92 handle->txRemainingBytes--; in SPI_SendTransfer()
96 if (handle->txRemainingBytes == 0U) in SPI_SendTransfer()
689 handle->txRemainingBytes = (NULL == xfer->txData) ? 0U : xfer->dataSize; in SPI_MasterTransferNonBlocking()
728 handle->txRemainingBytes--; in SPI_MasterTransferNonBlocking()
732 handle->txRemainingBytes--; in SPI_MasterTransferNonBlocking()
821 handle->txRemainingBytes = 0U; in SPI_MasterTransferAbort()
849 if ((handle->txRemainingBytes) != 0U) in SPI_MasterTransferHandleIRQ()
[all …]
Dfsl_spi.h254 volatile size_t txRemainingBytes; /*!< Number of data to be transmitted [in bytes] */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/ecspi/
Dfsl_ecspi.c178 uint32_t txRemainingBytes = (uint32_t)(handle->txRemainingBytes); in ECSPI_SendTransfer() local
181 …)FSL_FEATURE_ECSPI_TX_FIFO_SIZEn(base) - (uint32_t)ECSPI_GetTxFifoCount(base)) < txRemainingBytes ? in ECSPI_SendTransfer()
183 txRemainingBytes; in ECSPI_SendTransfer()
191 handle->txRemainingBytes -= 1U; in ECSPI_SendTransfer()
742 handle->txRemainingBytes = xfer->dataSize; in ECSPI_MasterTransferNonBlocking()
807 *count = handle->transferSize - handle->txRemainingBytes; in ECSPI_MasterTransferGetCount()
839 handle->txRemainingBytes = 0; in ECSPI_MasterTransferAbort()
869 if ((handle->txRemainingBytes) != 0UL) in ECSPI_MasterTransferHandleIRQ()
875 if ((handle->txRemainingBytes == 0UL) && (handle->rxRemainingBytes == 0UL)) in ECSPI_MasterTransferHandleIRQ()
937 if ((handle->txRemainingBytes) != 0UL) in ECSPI_SlaveTransferHandleIRQ()
[all …]
Dfsl_ecspi.h216 volatile size_t txRemainingBytes; /*!< Send data remaining in bytes */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/spi/
Dfsl_flexio_spi.c118 handle->txRemainingBytes -= handle->bytePerFrame; in FLEXIO_SPI_TransferSendTransaction()
122 if (0U == handle->txRemainingBytes) in FLEXIO_SPI_TransferSendTransaction()
1226 handle->txRemainingBytes = xfer->dataSize - handle->bytePerFrame; in FLEXIO_SPI_MasterTransferNonBlocking()
1261 *count = handle->transferSize - handle->txRemainingBytes; in FLEXIO_SPI_MasterTransferGetCount()
1285 handle->txRemainingBytes = 0; in FLEXIO_SPI_MasterTransferAbort()
1323 …if (((status & (uint32_t)kFLEXIO_SPI_TxBufferEmptyFlag) != 0U) && (handle->txRemainingBytes != 0U)) in FLEXIO_SPI_MasterTransferHandleIRQ()
1329 if ((handle->txRemainingBytes == 0U) && (handle->rxRemainingBytes == 0U)) in FLEXIO_SPI_MasterTransferHandleIRQ()
1489 handle->txRemainingBytes = xfer->dataSize; in FLEXIO_SPI_SlaveTransferNonBlocking()
1525 …if (((status & (uint32_t)kFLEXIO_SPI_TxBufferEmptyFlag) != 0U) && (handle->txRemainingBytes != 0U)) in FLEXIO_SPI_SlaveTransferHandleIRQ()
1537 if ((handle->txRemainingBytes == 0U) && (handle->rxRemainingBytes == 0U)) in FLEXIO_SPI_SlaveTransferHandleIRQ()
Dfsl_flexio_spi.h185 volatile size_t txRemainingBytes; /*!< Send data remaining in bytes. */ member
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/spi/
Dfsl_spi_cmsis.c1256 …((SPI->handle->masterHandle.txRemainingBytes > 0U) || (SPI->handle->masterHandle.rxRemainingBytes … in SPI_InterruptGetStatus()
1263 …((SPI->handle->slaveHandle.txRemainingBytes > 0U) || (SPI->handle->slaveHandle.rxRemainingBytes > … in SPI_InterruptGetStatus()
/hal_nxp-3.6.0/mcux/mcux-sdk/cmsis_drivers/ecspi/
Dfsl_ecspi_cmsis.c1151 …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.c1348 …((spi->handle->masterHandle.txRemainingBytes > 0U) || (spi->handle->masterHandle.rxRemainingBytes … in SPI_InterruptGetStatus()
1356 …((spi->handle->slaveHandle.txRemainingBytes > 0U) || (spi->handle->slaveHandle.rxRemainingBytes > … in SPI_InterruptGetStatus()