Home
last modified time | relevance | path

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

/openthread-latest/src/posix/platform/
Dspi_interface.cpp388 uint16_t spiTransferBytes = 0; in PushPullSpi() local
425 spiTransferBytes = OT_MAX(spiTransferBytes, mSpiTxPayloadSize); in PushPullSpi()
432 spiTransferBytes = OT_MAX(spiTransferBytes, mSpiSlaveDataLen); in PushPullSpi()
438 spiTransferBytes = OT_MAX(spiTransferBytes, mSpiSmallPacketSize); in PushPullSpi()
441 txFrame.SetHeaderAcceptLen(spiTransferBytes); in PushPullSpi()
447 VerifyOrExit(mRxFrameBuffer->GetFrameMaxLength() >= spiTransferBytes + mSpiAlignAllowance); in PushPullSpi()
453 spiTransferBytes += kSpiFrameHeaderSize + mSpiAlignAllowance; in PushPullSpi()
456 error = DoSpiTransfer(spiRxFrameBuffer, spiTransferBytes); in PushPullSpi()
508 otDumpDebgPlat("SPI-TX", mSpiTxFrameBuffer, spiTransferBytes); in PushPullSpi()
509 otDumpDebgPlat("SPI-RX", spiRxFrameBuffer, spiTransferBytes); in PushPullSpi()
[all …]