/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/ |
D | fsl_spi.c | 435 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 …]
|
D | fsl_spi_dma.c | 105 …*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()
|
D | fsl_spi.h | 232 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/ |
D | fsl_spi.c | 435 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 …]
|
D | fsl_spi_dma.c | 105 …*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()
|
D | fsl_spi.h | 232 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/ |
D | fsl_dspi.c | 919 …(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 …]
|
D | fsl_dspi_edma.c | 186 …(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()
|
D | fsl_lpspi.c | 826 …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()
|
D | fsl_lpspi_edma.c | 226 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()
|
D | fsl_dspi.h | 340 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
|
D | fsl_lpspi.h | 347 …uint32_t configFlags; /*!< Transfer transfer configuration flags. Set from _lpspi_transfer_config_… member
|
/hal_nxp-2.7.6/mcux/drivers/imx/ |
D | fsl_lpspi.c | 840 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()
|
D | fsl_lpspi_edma.c | 224 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()
|
D | fsl_lpspi.h | 347 …uint32_t configFlags; /*!< Transfer transfer configuration flags. Set from _lpspi_transfer_config_… member
|