Lines Matching refs:transfer
82 …SPI_MasterTransferPrepare(SPI_Type *base, dspi_master_handle_t *handle, dspi_transfer_t *transfer);
885 status_t DSPI_MasterTransferBlocking(SPI_Type *base, dspi_transfer_t *transfer) in DSPI_MasterTransferBlocking() argument
887 assert(NULL != transfer); in DSPI_MasterTransferBlocking()
907 if (transfer->dataSize == 0U) in DSPI_MasterTransferBlocking()
919 …(uint8_t)((uint32_t)1U << ((transfer->configFlags & DSPI_MASTER_PCS_MASK) >> DSPI_MASTER_PCS_SHIFT… in DSPI_MasterTransferBlocking()
922 …commandStruct.whichCtar = (uint8_t)((transfer->configFlags & DSPI_MASTER_CTAR_MASK) >> DSPI_MASTER… in DSPI_MasterTransferBlocking()
924 (0U != (transfer->configFlags & (uint32_t)kDSPI_MasterPcsContinuous)) ? true : false; in DSPI_MasterTransferBlocking()
930 (0U != (transfer->configFlags & (uint32_t)kDSPI_MasterActiveAfterTransfer)) ? true : false; in DSPI_MasterTransferBlocking()
936 txData = transfer->txData; in DSPI_MasterTransferBlocking()
937 rxData = transfer->rxData; in DSPI_MasterTransferBlocking()
938 remainingSendByteCount = transfer->dataSize; in DSPI_MasterTransferBlocking()
939 remainingReceiveByteCount = transfer->dataSize; in DSPI_MasterTransferBlocking()
1152 …DSPI_MasterTransferPrepare(SPI_Type *base, dspi_master_handle_t *handle, dspi_transfer_t *transfer) in DSPI_MasterTransferPrepare() argument
1155 assert(NULL != transfer); in DSPI_MasterTransferPrepare()
1165 …(uint8_t)((uint32_t)1U << ((transfer->configFlags & DSPI_MASTER_PCS_MASK) >> DSPI_MASTER_PCS_SHIFT… in DSPI_MasterTransferPrepare()
1168 …commandStruct.whichCtar = (uint8_t)((transfer->configFlags & DSPI_MASTER_CTAR_MASK) >> DSPI_MASTER… in DSPI_MasterTransferPrepare()
1170 (0U != (transfer->configFlags & (uint32_t)kDSPI_MasterPcsContinuous)) ? true : false; in DSPI_MasterTransferPrepare()
1175 (0U != (transfer->configFlags & (uint32_t)kDSPI_MasterActiveAfterTransfer)) ? true : false; in DSPI_MasterTransferPrepare()
1189 handle->txData = transfer->txData; in DSPI_MasterTransferPrepare()
1190 handle->rxData = transfer->rxData; in DSPI_MasterTransferPrepare()
1191 handle->remainingSendByteCount = transfer->dataSize; in DSPI_MasterTransferPrepare()
1192 handle->remainingReceiveByteCount = transfer->dataSize; in DSPI_MasterTransferPrepare()
1193 handle->totalByteCount = transfer->dataSize; in DSPI_MasterTransferPrepare()
1207 …_MasterTransferNonBlocking(SPI_Type *base, dspi_master_handle_t *handle, dspi_transfer_t *transfer) in DSPI_MasterTransferNonBlocking() argument
1210 assert(NULL != transfer); in DSPI_MasterTransferNonBlocking()
1213 if (transfer->dataSize == 0U) in DSPI_MasterTransferNonBlocking()
1229 DSPI_MasterTransferPrepare(base, handle, transfer); in DSPI_MasterTransferNonBlocking()
1748 …PI_SlaveTransferNonBlocking(SPI_Type *base, dspi_slave_handle_t *handle, dspi_transfer_t *transfer) in DSPI_SlaveTransferNonBlocking() argument
1751 assert(NULL != transfer); in DSPI_SlaveTransferNonBlocking()
1754 if (transfer->dataSize == 0U) in DSPI_SlaveTransferNonBlocking()
1760 if ((NULL == (transfer->txData)) && (NULL == (transfer->rxData))) in DSPI_SlaveTransferNonBlocking()
1776 handle->txData = transfer->txData; in DSPI_SlaveTransferNonBlocking()
1777 handle->rxData = transfer->rxData; in DSPI_SlaveTransferNonBlocking()
1778 handle->remainingSendByteCount = transfer->dataSize; in DSPI_SlaveTransferNonBlocking()
1779 handle->remainingReceiveByteCount = transfer->dataSize; in DSPI_SlaveTransferNonBlocking()
1780 handle->totalByteCount = transfer->dataSize; in DSPI_SlaveTransferNonBlocking()
1784 …uint8_t whichCtar = (uint8_t)((transfer->configFlags & DSPI_SLAVE_CTAR_MASK) >> DSPI_SLAVE_CTAR_SH… in DSPI_SlaveTransferNonBlocking()