Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/spi/
Dfsl_spi.c254 uint8_t bytestoTransfer = handle->bytePerFrame; in SPI_SendInitialTransfer() local
265 bytestoTransfer = (uint8_t)MIN(handle->txRemainingBytes, ((uint32_t)fifosize * 2U)); in SPI_SendInitialTransfer()
269 SPI_WriteNonBlocking(base, handle->txData, bytestoTransfer); in SPI_SendInitialTransfer()
274 handle->txData += bytestoTransfer; in SPI_SendInitialTransfer()
276 handle->txRemainingBytes -= bytestoTransfer; in SPI_SendInitialTransfer()
323 uint8_t bytestoTransfer = (uint8_t)handle->watermark * 2U; in SPI_SendTransfer() local
327 bytestoTransfer = (uint8_t)handle->txRemainingBytes; in SPI_SendTransfer()
330 SPI_WriteNonBlocking(base, handle->txData, bytestoTransfer); in SPI_SendTransfer()
335 handle->txData += bytestoTransfer; in SPI_SendTransfer()
337 handle->txRemainingBytes -= bytestoTransfer; in SPI_SendTransfer()