Lines Matching refs:bytesPerFrame
155 uint8_t bytesPerFrame = 1U; in SPI_WriteNonBlocking() local
159 bytesPerFrame = ((base->C2 & SPI_C2_SPIMODE_MASK) >> SPI_C2_SPIMODE_SHIFT) + 1U; in SPI_WriteNonBlocking()
187 i += bytesPerFrame; in SPI_WriteNonBlocking()
194 uint8_t bytesPerFrame = 1U; in SPI_ReadNonBlocking() local
198 bytesPerFrame = ((base->C2 & SPI_C2_SPIMODE_MASK) >> SPI_C2_SPIMODE_SHIFT) + 1U; in SPI_ReadNonBlocking()
225 i += bytesPerFrame; in SPI_ReadNonBlocking()
670 uint8_t bytesPerFrame = 1U; in SPI_WriteBlocking() local
674 bytesPerFrame = ((base->C2 & SPI_C2_SPIMODE_MASK) >> SPI_C2_SPIMODE_SHIFT) + 1U; in SPI_WriteBlocking()
684 SPI_WriteNonBlocking(base, buffer, bytesPerFrame); in SPI_WriteBlocking()
686 i += bytesPerFrame; in SPI_WriteBlocking()
687 buffer += bytesPerFrame; in SPI_WriteBlocking()
734 uint8_t bytesPerFrame = 1U; in SPI_MasterTransferBlocking() local
744 bytesPerFrame = ((base->C2 & SPI_C2_SPIMODE_MASK) >> SPI_C2_SPIMODE_SHIFT) + 1U; in SPI_MasterTransferBlocking()
770 SPI_WriteNonBlocking(base, xfer->txData, bytesPerFrame); in SPI_MasterTransferBlocking()
773 xfer->txData += bytesPerFrame; in SPI_MasterTransferBlocking()
779 SPI_ReadNonBlocking(base, xfer->rxData, bytesPerFrame); in SPI_MasterTransferBlocking()
782 xfer->rxData += bytesPerFrame; in SPI_MasterTransferBlocking()
786 xfer->dataSize -= bytesPerFrame; in SPI_MasterTransferBlocking()