Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexio/spi/
Dfsl_flexio_spi.c317 timerCmp = ((uint16_t)masterConfig->dataMode * 2U - 1U) << 8U; in FLEXIO_SPI_MasterInit()
390 masterConfig->dataMode = kFLEXIO_SPI_8BitMode; in FLEXIO_SPI_MasterGetDefaultConfig()
525 timerConfig.timerCompare = (uint32_t)slaveConfig->dataMode * 2U - 1U; in FLEXIO_SPI_SlaveInit()
564 slaveConfig->dataMode = kFLEXIO_SPI_8BitMode; in FLEXIO_SPI_SlaveGetDefaultConfig()
809 uint32_t dataMode = 0; in FLEXIO_SPI_MasterTransferBlocking() local
836 dataMode = (8UL * 2UL - 1UL) << 8U; in FLEXIO_SPI_MasterTransferBlocking()
842 dataMode = (8UL * 2UL - 1UL) << 8U; in FLEXIO_SPI_MasterTransferBlocking()
848 dataMode = (16UL * 2UL - 1UL) << 8U; in FLEXIO_SPI_MasterTransferBlocking()
854 dataMode = (16UL * 2UL - 1UL) << 8U; in FLEXIO_SPI_MasterTransferBlocking()
860 dataMode = (32UL * 2UL - 1UL) << 8U; in FLEXIO_SPI_MasterTransferBlocking()
[all …]
Dfsl_flexio_spi_dma.c337 uint32_t dataMode = 0U; in FLEXIO_SPI_MasterTransferDMA() local
377 dataMode = (8UL * 2UL - 1UL) << 8U; in FLEXIO_SPI_MasterTransferDMA()
381 dataMode = (16UL * 2UL - 1UL) << 8U; in FLEXIO_SPI_MasterTransferDMA()
385 dataMode = (32UL * 2UL - 1UL) << 8U; in FLEXIO_SPI_MasterTransferDMA()
389 dataMode = (8UL * 2UL - 1UL) << 8U; in FLEXIO_SPI_MasterTransferDMA()
392 dataMode |= timerCmp; in FLEXIO_SPI_MasterTransferDMA()
394 base->flexioBase->TIMCMP[base->timerIndex[0]] = dataMode; in FLEXIO_SPI_MasterTransferDMA()
472 uint32_t dataMode = 0U; in FLEXIO_SPI_SlaveTransferDMA() local
517 dataMode = 8UL * 2UL - 1UL; in FLEXIO_SPI_SlaveTransferDMA()
521 dataMode = 16UL * 2UL - 1UL; in FLEXIO_SPI_SlaveTransferDMA()
[all …]
Dfsl_flexio_spi_edma.c363 uint32_t dataMode = 0; in FLEXIO_SPI_MasterTransferEDMA() local
403 dataMode = (8UL * 2UL - 1UL) << 8U; in FLEXIO_SPI_MasterTransferEDMA()
407 dataMode = (16UL * 2UL - 1UL) << 8U; in FLEXIO_SPI_MasterTransferEDMA()
411 dataMode = (32UL * 2UL - 1UL) << 8U; in FLEXIO_SPI_MasterTransferEDMA()
415 dataMode = (8UL * 2UL - 1UL) << 8U; in FLEXIO_SPI_MasterTransferEDMA()
418 dataMode |= timerCmp; in FLEXIO_SPI_MasterTransferEDMA()
420 base->flexioBase->TIMCMP[base->timerIndex[0]] = dataMode; in FLEXIO_SPI_MasterTransferEDMA()
502 uint32_t dataMode = 0U; in FLEXIO_SPI_SlaveTransferEDMA() local
547 dataMode = 8U * 2U - 1U; in FLEXIO_SPI_SlaveTransferEDMA()
551 dataMode = 16U * 2U - 1U; in FLEXIO_SPI_SlaveTransferEDMA()
[all …]
Dfsl_flexio_spi.h136 flexio_spi_data_bitcount_mode_t dataMode; /*!< 8bit or 16bit mode. */ member
149 flexio_spi_data_bitcount_mode_t dataMode; /*!< 8bit or 16bit mode. */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/spi/
Dfsl_spi.h173 spi_data_bitcount_mode_t dataMode; /*!< 8bit or 16bit mode */ member
193 spi_data_bitcount_mode_t dataMode; /*!< 8bit or 16bit mode */ member
Dfsl_spi.c414 config->dataMode = kSPI_8BitMode; in SPI_MasterGetDefaultConfig()
465 SPI_C2_SPIMODE(config->dataMode); in SPI_MasterInit()
518 config->dataMode = kSPI_8BitMode; in SPI_SlaveGetDefaultConfig()
566 base->C2 = SPI_C2_SPIMODE(config->dataMode) | SPI_C2_SPISWAI(config->enableStopInWaitMode) | in SPI_SlaveInit()
/hal_nxp-3.5.0/mcux/mcux-sdk/cmsis_drivers/spi/
Dfsl_spi_cmsis.c209 masterConfig.dataMode = kSPI_8BitMode; in SPI_CommonControl()
213 slaveConfig.dataMode = kSPI_8BitMode; in SPI_CommonControl()
220 masterConfig.dataMode = kSPI_16BitMode; in SPI_CommonControl()
224 slaveConfig.dataMode = kSPI_16BitMode; in SPI_CommonControl()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sai/
Dfsl_sai.h380 sai_data_pin_state_t dataMode; /*!< sai data pin state when slots masked or channel disabled */ member
Dfsl_sai.c373 config->serialData.dataMode = kSAI_DataPinStateOutputZero; in SAI_GetCommonConfig()
1394 tcr4 |= I2S_TCR4_CHMOD(config->dataMode); in SAI_TxSetSerialDataConfig()