Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_dspi_edma.c199 …handle->bitsPerFrame = ((base->CTAR[commandStruct.whichCtar] & SPI_CTAR_FMSZ_MASK) >> SPI_CTAR_FMS… in DSPI_MasterTransferEDMA()
219 if (transfer->dataSize > DSPI_EDMA_MAX_TRANSFER_SIZE(base, (handle->bitsPerFrame))) in DSPI_MasterTransferEDMA()
226 if ((0U != (transfer->dataSize & 0x1U)) && (handle->bitsPerFrame > 8U)) in DSPI_MasterTransferEDMA()
269 if (handle->bitsPerFrame > 8U) in DSPI_MasterTransferEDMA()
334 if (handle->bitsPerFrame > 8U) in DSPI_MasterTransferEDMA()
443 if (handle->bitsPerFrame <= 8U) in DSPI_MasterTransferEDMA()
475 ((((tmpRemainingSendByteCount > 1U) && (handle->bitsPerFrame <= 8U)) || in DSPI_MasterTransferEDMA()
476 ((tmpRemainingSendByteCount > 2U) && (handle->bitsPerFrame > 8U))) && in DSPI_MasterTransferEDMA()
485 if (handle->bitsPerFrame <= 8U) in DSPI_MasterTransferEDMA()
502 if (handle->bitsPerFrame <= 8U) in DSPI_MasterTransferEDMA()
[all …]
Dfsl_lpspi.c223 … LPSPI_TCR_LSBF(masterConfig->direction) | LPSPI_TCR_FRAMESZ(masterConfig->bitsPerFrame - 1U) | in LPSPI_MasterInit()
257 masterConfig->bitsPerFrame = 8; in LPSPI_MasterGetDefaultConfig()
305 … LPSPI_TCR_LSBF(slaveConfig->direction) | LPSPI_TCR_FRAMESZ(slaveConfig->bitsPerFrame - 1U); in LPSPI_SlaveInit()
333 …slaveConfig->bitsPerFrame = 8; /*!< Bits per frame, minimum 8, maximu… in LPSPI_SlaveGetDefaultConfig()
725 bool LPSPI_CheckTransferArgument(lpspi_transfer_t *transfer, uint32_t bitsPerFrame, uint32_t bytesP… in LPSPI_CheckTransferArgument() argument
795 uint32_t bitsPerFrame = ((base->TCR & LPSPI_TCR_FRAMESZ_MASK) >> LPSPI_TCR_FRAMESZ_SHIFT) + 1U; in LPSPI_MasterTransferBlocking() local
796 uint32_t bytesPerFrame = (bitsPerFrame + 7U) / 8U; in LPSPI_MasterTransferBlocking()
800 if (!LPSPI_CheckTransferArgument(transfer, bitsPerFrame, bytesPerFrame)) in LPSPI_MasterTransferBlocking()
1041 uint32_t bitsPerFrame = ((base->TCR & LPSPI_TCR_FRAMESZ_MASK) >> LPSPI_TCR_FRAMESZ_SHIFT) + 1U; in LPSPI_MasterTransferNonBlocking() local
1042 uint32_t bytesPerFrame = (bitsPerFrame + 7U) / 8U; in LPSPI_MasterTransferNonBlocking()
[all …]
Dfsl_dspi.c232 …>CTAR[masterConfig->whichCtar] = temp | SPI_CTAR_FMSZ(masterConfig->ctarConfig.bitsPerFrame - 1U) | in DSPI_MasterInit()
270 masterConfig->ctarConfig.bitsPerFrame = 8; in DSPI_MasterGetDefaultConfig()
337 …R[slaveConfig->whichCtar] = temp | SPI_CTAR_SLAVE_FMSZ(slaveConfig->ctarConfig.bitsPerFrame - 1U) | in DSPI_SlaveInit()
367 slaveConfig->ctarConfig.bitsPerFrame = 8; in DSPI_SlaveGetDefaultConfig()
892 uint8_t bitsPerFrame; in DSPI_MasterTransferBlocking() local
934bitsPerFrame = (uint8_t)(((base->CTAR[commandStruct.whichCtar] & SPI_CTAR_FMSZ_MASK) >> SPI_CTAR_F… in DSPI_MasterTransferBlocking()
953 if (bitsPerFrame <= 8U) in DSPI_MasterTransferBlocking()
1178 …handle->bitsPerFrame = ((base->CTAR[commandStruct.whichCtar] & SPI_CTAR_FMSZ_MASK) >> SPI_CTAR_FMS… in DSPI_MasterTransferPrepare()
1449 if (handle->bitsPerFrame > 8U) in DSPI_MasterTransferFillUpTxFifo()
1609 if (handle->bitsPerFrame > 8U) in DSPI_MasterTransferHandleIRQ()
[all …]
Dfsl_dspi.h236 uint32_t bitsPerFrame; /*!< Bits per frame, minimum 4, maximum 16.*/ member
275 uint32_t bitsPerFrame; /*!< Bits per frame, minimum 4, maximum 16.*/ member
361 uint32_t bitsPerFrame; /*!< The desired number of bits per frame. */ member
386 uint32_t bitsPerFrame; /*!< The desired number of bits per frame. */ member
Dfsl_lpspi_edma.c197 uint32_t bitsPerFrame = ((base->TCR & LPSPI_TCR_FRAMESZ_MASK) >> LPSPI_TCR_FRAMESZ_SHIFT) + 1U; in LPSPI_MasterTransferEDMA() local
198 uint32_t bytesPerFrame = (bitsPerFrame + 7U) / 8U; in LPSPI_MasterTransferEDMA()
203 if (!LPSPI_CheckTransferArgument(transfer, bitsPerFrame, bytesPerFrame)) in LPSPI_MasterTransferEDMA()
727 uint32_t bitsPerFrame = ((base->TCR & LPSPI_TCR_FRAMESZ_MASK) >> LPSPI_TCR_FRAMESZ_SHIFT) + 1U; in LPSPI_SlaveTransferEDMA() local
728 uint32_t bytesPerFrame = (bitsPerFrame + 7U) / 8U; in LPSPI_SlaveTransferEDMA()
734 if (!LPSPI_CheckTransferArgument(transfer, bitsPerFrame, bytesPerFrame)) in LPSPI_SlaveTransferEDMA()
Dfsl_lpspi.h264 uint32_t bitsPerFrame; /*!< Bits per frame, minimum 8, maximum 4096.*/ member
289 uint32_t bitsPerFrame; /*!< Bits per frame, minimum 8, maximum 4096.*/ member
722 bool LPSPI_CheckTransferArgument(lpspi_transfer_t *transfer, uint32_t bitsPerFrame, uint32_t bytesP…
Dfsl_dspi_edma.h74 uint32_t bitsPerFrame; /*!< The desired number of bits per frame. */ member
108 uint32_t bitsPerFrame; /*!< The desired number of bits per frame. */ member
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_lpspi.c231 … LPSPI_TCR_LSBF(masterConfig->direction) | LPSPI_TCR_FRAMESZ(masterConfig->bitsPerFrame - 1U) | in LPSPI_MasterInit()
265 masterConfig->bitsPerFrame = 8; in LPSPI_MasterGetDefaultConfig()
313 … LPSPI_TCR_LSBF(slaveConfig->direction) | LPSPI_TCR_FRAMESZ(slaveConfig->bitsPerFrame - 1U); in LPSPI_SlaveInit()
341 …slaveConfig->bitsPerFrame = 8; /*!< Bits per frame, minimum 8, maximu… in LPSPI_SlaveGetDefaultConfig()
736 uint32_t bitsPerFrame = ((base->TCR & LPSPI_TCR_FRAMESZ_MASK) >> LPSPI_TCR_FRAMESZ_SHIFT) + 1U; in LPSPI_CheckTransferArgument() local
737 uint32_t bytesPerFrame = (bitsPerFrame + 7U) / 8U; in LPSPI_CheckTransferArgument()
Dfsl_lpspi.h264 uint32_t bitsPerFrame; /*!< Bits per frame, minimum 8, maximum 4096.*/ member
289 uint32_t bitsPerFrame; /*!< Bits per frame, minimum 8, maximum 4096.*/ member