Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_spi.c435 void SPI_WriteData(SPI_Type *base, uint16_t data, uint32_t configFlags) in SPI_WriteData() argument
450 control |= (configFlags & (uint32_t)SPI_FIFOWR_FLAGS_MASK); in SPI_WriteData()
561 …tx_ctrl |= ((xfer->configFlags & (uint32_t)kSPI_FrameDelay) != 0U) ? (uint32_t)kSPI_FrameDelay : 0… in SPI_MasterTransferBlocking()
563 …last_ctrl |= ((xfer->configFlags & (uint32_t)kSPI_FrameAssert) != 0U) ? (uint32_t)kSPI_FrameAssert… in SPI_MasterTransferBlocking()
688 handle->configFlags = xfer->configFlags; in SPI_MasterTransferNonBlocking()
732 tempXfer.configFlags = (xfer->configFlags) & (~(uint32_t)kSPI_FrameAssert); in SPI_MasterHalfDuplexTransferBlocking()
736 tempXfer.configFlags = (xfer->configFlags) | (uint32_t)kSPI_FrameAssert; in SPI_MasterHalfDuplexTransferBlocking()
758 tempXfer.configFlags = xfer->configFlags; in SPI_MasterHalfDuplexTransferBlocking()
803 tempXfer.configFlags = (xfer->configFlags) & (~(uint32_t)kSPI_FrameAssert); in SPI_MasterHalfDuplexTransferNonBlocking()
807 tempXfer.configFlags = (xfer->configFlags) | (uint32_t)kSPI_FrameAssert; in SPI_MasterHalfDuplexTransferNonBlocking()
[all …]
Dfsl_spi_dma.c105 …*fifowr |= ((xfer->configFlags & (uint32_t)kSPI_FrameDelay) != 0U) ? (uint32_t)kSPI_FrameDelay : 0… in XferToFifoWR()
106 …*fifowr |= ((xfer->configFlags & (uint32_t)kSPI_FrameAssert) != 0U) ? (uint32_t)kSPI_FrameAssert :… in XferToFifoWR()
281 if ((xfer->configFlags & (uint32_t)kSPI_FrameAssert) != 0U) in SPI_MasterTransferDMA()
288 if (((xfer->configFlags & (uint32_t)kSPI_FrameAssert) != 0U) && in SPI_MasterTransferDMA()
333 if (((xfer->configFlags & (uint32_t)kSPI_FrameAssert) != 0U) && in SPI_MasterTransferDMA()
389 if (((xfer->configFlags & (uint32_t)kSPI_FrameAssert) != 0U) && in SPI_MasterTransferDMA()
441 tempXfer.configFlags = (xfer->configFlags) & (~(uint32_t)kSPI_FrameAssert); in SPI_MasterHalfDuplexTransferDMA()
445 tempXfer.configFlags = (xfer->configFlags) | (uint32_t)kSPI_FrameAssert; in SPI_MasterHalfDuplexTransferDMA()
466 tempXfer.configFlags = xfer->configFlags; in SPI_MasterHalfDuplexTransferDMA()
Dfsl_spi.h232 uint32_t configFlags; /*!< Additional option to control transfer, @ref spi_xfer_option_t. */ member
243 uint32_t configFlags; /*!< Transfer configuration flags, @ref spi_xfer_option_t. */ member
284 uint32_t configFlags; /*!< Additional option to control transfer */ member
521 void SPI_WriteData(SPI_Type *base, uint16_t data, uint32_t configFlags);
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_spi.c435 void SPI_WriteData(SPI_Type *base, uint16_t data, uint32_t configFlags) in SPI_WriteData() argument
450 control |= (configFlags & (uint32_t)SPI_FIFOWR_FLAGS_MASK); in SPI_WriteData()
561 …tx_ctrl |= ((xfer->configFlags & (uint32_t)kSPI_FrameDelay) != 0U) ? (uint32_t)kSPI_FrameDelay : 0… in SPI_MasterTransferBlocking()
563 …last_ctrl |= ((xfer->configFlags & (uint32_t)kSPI_FrameAssert) != 0U) ? (uint32_t)kSPI_FrameAssert… in SPI_MasterTransferBlocking()
688 handle->configFlags = xfer->configFlags; in SPI_MasterTransferNonBlocking()
732 tempXfer.configFlags = (xfer->configFlags) & (~(uint32_t)kSPI_FrameAssert); in SPI_MasterHalfDuplexTransferBlocking()
736 tempXfer.configFlags = (xfer->configFlags) | (uint32_t)kSPI_FrameAssert; in SPI_MasterHalfDuplexTransferBlocking()
758 tempXfer.configFlags = xfer->configFlags; in SPI_MasterHalfDuplexTransferBlocking()
803 tempXfer.configFlags = (xfer->configFlags) & (~(uint32_t)kSPI_FrameAssert); in SPI_MasterHalfDuplexTransferNonBlocking()
807 tempXfer.configFlags = (xfer->configFlags) | (uint32_t)kSPI_FrameAssert; in SPI_MasterHalfDuplexTransferNonBlocking()
[all …]
Dfsl_spi_dma.c105 …*fifowr |= ((xfer->configFlags & (uint32_t)kSPI_FrameDelay) != 0U) ? (uint32_t)kSPI_FrameDelay : 0… in XferToFifoWR()
106 …*fifowr |= ((xfer->configFlags & (uint32_t)kSPI_FrameAssert) != 0U) ? (uint32_t)kSPI_FrameAssert :… in XferToFifoWR()
281 if ((xfer->configFlags & (uint32_t)kSPI_FrameAssert) != 0U) in SPI_MasterTransferDMA()
288 if (((xfer->configFlags & (uint32_t)kSPI_FrameAssert) != 0U) && in SPI_MasterTransferDMA()
333 if (((xfer->configFlags & (uint32_t)kSPI_FrameAssert) != 0U) && in SPI_MasterTransferDMA()
389 if (((xfer->configFlags & (uint32_t)kSPI_FrameAssert) != 0U) && in SPI_MasterTransferDMA()
441 tempXfer.configFlags = (xfer->configFlags) & (~(uint32_t)kSPI_FrameAssert); in SPI_MasterHalfDuplexTransferDMA()
445 tempXfer.configFlags = (xfer->configFlags) | (uint32_t)kSPI_FrameAssert; in SPI_MasterHalfDuplexTransferDMA()
466 tempXfer.configFlags = xfer->configFlags; in SPI_MasterHalfDuplexTransferDMA()
Dfsl_spi.h232 uint32_t configFlags; /*!< Additional option to control transfer, @ref spi_xfer_option_t. */ member
243 uint32_t configFlags; /*!< Transfer configuration flags, @ref spi_xfer_option_t. */ member
284 uint32_t configFlags; /*!< Additional option to control transfer */ member
521 void SPI_WriteData(SPI_Type *base, uint16_t data, uint32_t configFlags);
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_dspi.c919 …(uint8_t)((uint32_t)1U << ((transfer->configFlags & DSPI_MASTER_PCS_MASK) >> DSPI_MASTER_PCS_SHIFT… in DSPI_MasterTransferBlocking()
922 …commandStruct.whichCtar = (uint8_t)((transfer->configFlags & DSPI_MASTER_CTAR_MASK) >> DSPI_MASTER… in DSPI_MasterTransferBlocking()
924 (0U != (transfer->configFlags & (uint32_t)kDSPI_MasterPcsContinuous)) ? true : false; in DSPI_MasterTransferBlocking()
930 (0U != (transfer->configFlags & (uint32_t)kDSPI_MasterActiveAfterTransfer)) ? true : false; in DSPI_MasterTransferBlocking()
1165 …(uint8_t)((uint32_t)1U << ((transfer->configFlags & DSPI_MASTER_PCS_MASK) >> DSPI_MASTER_PCS_SHIFT… in DSPI_MasterTransferPrepare()
1168 …commandStruct.whichCtar = (uint8_t)((transfer->configFlags & DSPI_MASTER_CTAR_MASK) >> DSPI_MASTER… in DSPI_MasterTransferPrepare()
1170 (0U != (transfer->configFlags & (uint32_t)kDSPI_MasterPcsContinuous)) ? true : false; in DSPI_MasterTransferPrepare()
1175 (0U != (transfer->configFlags & (uint32_t)kDSPI_MasterActiveAfterTransfer)) ? true : false; in DSPI_MasterTransferPrepare()
1282 tempXfer.configFlags = (xfer->configFlags) | (uint32_t)kDSPI_MasterActiveAfterTransfer; in DSPI_MasterHalfDuplexTransferBlocking()
1286 tempXfer.configFlags = (xfer->configFlags) & (~(uint32_t)kDSPI_MasterActiveAfterTransfer); in DSPI_MasterHalfDuplexTransferBlocking()
[all …]
Dfsl_dspi_edma.c186 …(uint8_t)((uint32_t)1U << ((transfer->configFlags & DSPI_MASTER_PCS_MASK) >> DSPI_MASTER_PCS_SHIFT… in DSPI_MasterTransferEDMA()
189 …commandStruct.whichCtar = (uint8_t)((transfer->configFlags & DSPI_MASTER_CTAR_MASK) >> DSPI_MASTER… in DSPI_MasterTransferEDMA()
191 (0U != (transfer->configFlags & (uint32_t)kDSPI_MasterPcsContinuous)) ? true : false; in DSPI_MasterTransferEDMA()
196 (0U != (transfer->configFlags & (uint32_t)kDSPI_MasterActiveAfterTransfer)) ? true : false; in DSPI_MasterTransferEDMA()
975 tempXfer.configFlags = (xfer->configFlags) | (uint32_t)kDSPI_MasterActiveAfterTransfer; in DSPI_MasterHalfDuplexTransferEDMA()
979 tempXfer.configFlags = (xfer->configFlags) & (~(uint32_t)kDSPI_MasterActiveAfterTransfer); in DSPI_MasterHalfDuplexTransferEDMA()
1000 tempXfer.configFlags = xfer->configFlags; in DSPI_MasterHalfDuplexTransferEDMA()
1176 …uint8_t whichCtar = (uint8_t)((transfer->configFlags & DSPI_SLAVE_CTAR_MASK) >> DSPI_SLAVE_CTAR_SH… in DSPI_SlaveTransferEDMA()
Dfsl_lpspi.c826 …uint32_t whichPcs = (transfer->configFlags & LPSPI_MASTER_PCS_MASK) >> LPSPI_MASTER_PCS_SHIF… in LPSPI_MasterTransferBlocking()
828 bool isPcsContinuous = ((transfer->configFlags & (uint32_t)kLPSPI_MasterPcsContinuous) != 0U); in LPSPI_MasterTransferBlocking()
830 bool isByteSwap = ((transfer->configFlags & (uint32_t)kLPSPI_MasterByteSwap) != 0U); in LPSPI_MasterTransferBlocking()
1065 uint32_t whichPcs = (transfer->configFlags & LPSPI_MASTER_PCS_MASK) >> LPSPI_MASTER_PCS_SHIFT; in LPSPI_MasterTransferNonBlocking()
1084 … handle->isPcsContinuous = ((transfer->configFlags & (uint32_t)kLPSPI_MasterPcsContinuous) != 0U); in LPSPI_MasterTransferNonBlocking()
1086 handle->isByteSwap = ((transfer->configFlags & (uint32_t)kLPSPI_MasterByteSwap) != 0U); in LPSPI_MasterTransferNonBlocking()
1531 uint32_t whichPcs = (transfer->configFlags & LPSPI_SLAVE_PCS_MASK) >> LPSPI_SLAVE_PCS_SHIFT; in LPSPI_SlaveTransferNonBlocking()
1545 handle->isByteSwap = ((transfer->configFlags & (uint32_t)kLPSPI_SlaveByteSwap) != 0U); in LPSPI_SlaveTransferNonBlocking()
Dfsl_lpspi_edma.c226 uint32_t whichPcs = (transfer->configFlags & LPSPI_MASTER_PCS_MASK) >> LPSPI_MASTER_PCS_SHIFT; in LPSPI_MasterTransferEDMA()
262 handle->isPcsContinuous = (bool)(transfer->configFlags & (uint32_t)kLPSPI_MasterPcsContinuous); in LPSPI_MasterTransferEDMA()
263 handle->isByteSwap = (bool)(transfer->configFlags & (uint32_t)kLPSPI_MasterByteSwap); in LPSPI_MasterTransferEDMA()
758 uint32_t whichPcs = (transfer->configFlags & LPSPI_MASTER_PCS_MASK) >> LPSPI_MASTER_PCS_SHIFT; in LPSPI_SlaveTransferEDMA()
791 handle->isByteSwap = ((transfer->configFlags & (uint32_t)kLPSPI_MasterByteSwap) != 0U); in LPSPI_SlaveTransferEDMA()
Dfsl_dspi.h340 uint32_t configFlags; /*!< Transfer transfer configuration flags. Set from @ref member
352 …uint32_t configFlags; /*!< Transfer configuration flags; set from @ref _dspi_transfer_config_flag_… member
Dfsl_lpspi.h347 …uint32_t configFlags; /*!< Transfer transfer configuration flags. Set from _lpspi_transfer_config_… member
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_lpspi.c840 bool isByteSwap = ((transfer->configFlags & (uint32_t)kLPSPI_MasterByteSwap) != 0U); in LPSPI_MasterTransferBlocking()
855 …bool isPcsContinuous = (((transfer->configFlags & (uint32_t)kLPSPI_MasterPcsContinuous) != 0U) … in LPSPI_MasterTransferBlocking()
858 …uint32_t whichPcs = (transfer->configFlags & LPSPI_MASTER_PCS_MASK) >> LPSPI_MASTER_PCS_SHIF… in LPSPI_MasterTransferBlocking()
1117 uint32_t whichPcs = (transfer->configFlags & LPSPI_MASTER_PCS_MASK) >> LPSPI_MASTER_PCS_SHIFT; in LPSPI_MasterTransferNonBlocking()
1130 … bool isPcsContinuous = (((transfer->configFlags & (uint32_t)kLPSPI_MasterPcsContinuous) != 0U) && in LPSPI_MasterTransferNonBlocking()
1140 handle->isByteSwap = ((transfer->configFlags & (uint32_t)kLPSPI_MasterByteSwap) != 0U); in LPSPI_MasterTransferNonBlocking()
1616 … uint32_t whichPcs = (transfer->configFlags & LPSPI_SLAVE_PCS_MASK) >> LPSPI_SLAVE_PCS_SHIFT; in LPSPI_SlaveTransferNonBlocking()
1630 handle->isByteSwap = ((transfer->configFlags & (uint32_t)kLPSPI_SlaveByteSwap) != 0U); in LPSPI_SlaveTransferNonBlocking()
Dfsl_lpspi_edma.c224 bool isByteSwap = ((transfer->configFlags & (uint32_t)kLPSPI_MasterByteSwap) != 0U); in LPSPI_MasterTransferEDMA()
225 … bool isPcsContinuous = ((transfer->configFlags & (uint32_t)kLPSPI_MasterPcsContinuous) != 0U); in LPSPI_MasterTransferEDMA()
233 …uint32_t whichPcs = (transfer->configFlags & LPSPI_MASTER_PCS_MASK) >> LPSPI_MASTER_PCS_SHIFT; in LPSPI_MasterTransferEDMA()
706 bool isByteSwap = ((transfer->configFlags & (uint32_t)kLPSPI_MasterByteSwap) != 0U); in LPSPI_SlaveTransferEDMA()
716 …uint32_t whichPcs = (transfer->configFlags & LPSPI_MASTER_PCS_MASK) >> LPSPI_MASTER_PCS_SHIFT; in LPSPI_SlaveTransferEDMA()
Dfsl_lpspi.h347 …uint32_t configFlags; /*!< Transfer transfer configuration flags. Set from _lpspi_transfer_config_… member