Lines Matching refs:bytesPerFrame
725 …PI_CheckTransferArgument(lpspi_transfer_t *transfer, uint32_t bitsPerFrame, uint32_t bytesPerFrame) in LPSPI_CheckTransferArgument() argument
746 if (bytesPerFrame <= 4U) in LPSPI_CheckTransferArgument()
748 if ((transfer->dataSize % bytesPerFrame) != 0U) in LPSPI_CheckTransferArgument()
755 if ((bytesPerFrame % 4U) != 0U) in LPSPI_CheckTransferArgument()
757 if (transfer->dataSize != bytesPerFrame) in LPSPI_CheckTransferArgument()
764 if ((transfer->dataSize % bytesPerFrame) != 0U) in LPSPI_CheckTransferArgument()
796 uint32_t bytesPerFrame = (bitsPerFrame + 7U) / 8U; in LPSPI_MasterTransferBlocking() local
800 if (!LPSPI_CheckTransferArgument(transfer, bitsPerFrame, bytesPerFrame)) in LPSPI_MasterTransferBlocking()
825 uint32_t rxFifoMaxBytes = MIN(bytesPerFrame, 4U) * fifoSize; in LPSPI_MasterTransferBlocking()
867 if (bytesPerFrame <= 4U) in LPSPI_MasterTransferBlocking()
869 bytesEachWrite = (uint8_t)bytesPerFrame; in LPSPI_MasterTransferBlocking()
870 bytesEachRead = (uint8_t)bytesPerFrame; in LPSPI_MasterTransferBlocking()
1042 uint32_t bytesPerFrame = (bitsPerFrame + 7U) / 8U; in LPSPI_MasterTransferNonBlocking() local
1048 if (!LPSPI_CheckTransferArgument(transfer, bitsPerFrame, bytesPerFrame)) in LPSPI_MasterTransferNonBlocking()
1075 …handle->writeRegRemainingTimes = (transfer->dataSize / bytesPerFrame) * ((bytesPerFrame + 3U) / 4U… in LPSPI_MasterTransferNonBlocking()
1141 if (bytesPerFrame <= 4U) in LPSPI_MasterTransferNonBlocking()
1143 handle->bytesEachWrite = (uint8_t)bytesPerFrame; in LPSPI_MasterTransferNonBlocking()
1144 handle->bytesEachRead = (uint8_t)bytesPerFrame; in LPSPI_MasterTransferNonBlocking()
1512 uint32_t bytesPerFrame = (bitsPerFrame + 7U) / 8U; in LPSPI_SlaveTransferNonBlocking() local
1516 if (!LPSPI_CheckTransferArgument(transfer, bitsPerFrame, bytesPerFrame)) in LPSPI_SlaveTransferNonBlocking()
1539 …handle->writeRegRemainingTimes = (transfer->dataSize / bytesPerFrame) * ((bytesPerFrame + 3U) / 4U… in LPSPI_SlaveTransferNonBlocking()
1606 if (bytesPerFrame <= 4U) in LPSPI_SlaveTransferNonBlocking()
1608 handle->bytesEachWrite = (uint8_t)bytesPerFrame; in LPSPI_SlaveTransferNonBlocking()
1609 handle->bytesEachRead = (uint8_t)bytesPerFrame; in LPSPI_SlaveTransferNonBlocking()