Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/cmsis_drivers/dspi/
Dfsl_dspi_cmsis.c128 masterConfig.ctarConfig.baudRate = arg; in DSPI_CommonControl()
134 masterConfig.ctarConfig.pcsToSckDelayInNanoSec = (uint32_t)RTE_SPI0_PCS_TO_SCK_DELAY; in DSPI_CommonControl()
135 masterConfig.ctarConfig.lastSckToPcsDelayInNanoSec = (uint32_t)RTE_SPI0_SCK_TO_PSC_DELAY; in DSPI_CommonControl()
136 … masterConfig.ctarConfig.betweenTransferDelayInNanoSec = (uint32_t)RTE_SPI0_BETWEEN_TRANSFER_DELAY; in DSPI_CommonControl()
144 masterConfig.ctarConfig.pcsToSckDelayInNanoSec = (uint32_t)RTE_SPI1_PCS_TO_SCK_DELAY; in DSPI_CommonControl()
145 masterConfig.ctarConfig.lastSckToPcsDelayInNanoSec = (uint32_t)RTE_SPI1_SCK_TO_PSC_DELAY; in DSPI_CommonControl()
146 … masterConfig.ctarConfig.betweenTransferDelayInNanoSec = (uint32_t)RTE_SPI1_BETWEEN_TRANSFER_DELAY; in DSPI_CommonControl()
154 masterConfig.ctarConfig.pcsToSckDelayInNanoSec = (uint32_t)RTE_SPI2_PCS_TO_SCK_DELAY; in DSPI_CommonControl()
155 masterConfig.ctarConfig.lastSckToPcsDelayInNanoSec = (uint32_t)RTE_SPI2_SCK_TO_PSC_DELAY; in DSPI_CommonControl()
156 … masterConfig.ctarConfig.betweenTransferDelayInNanoSec = (uint32_t)RTE_SPI2_BETWEEN_TRANSFER_DELAY; in DSPI_CommonControl()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dspi/
Dfsl_dspi.c224 …if (0U == DSPI_MasterSetBaudRate(base, masterConfig->whichCtar, masterConfig->ctarConfig.baudRate,… in DSPI_MasterInit()
232 …base->CTAR[masterConfig->whichCtar] = temp | SPI_CTAR_FMSZ(masterConfig->ctarConfig.bitsPerFrame -… in DSPI_MasterInit()
233 SPI_CTAR_CPOL(masterConfig->ctarConfig.cpol) | in DSPI_MasterInit()
234 SPI_CTAR_CPHA(masterConfig->ctarConfig.cpha) | in DSPI_MasterInit()
235 SPI_CTAR_LSBFE(masterConfig->ctarConfig.direction); in DSPI_MasterInit()
238 masterConfig->ctarConfig.pcsToSckDelayInNanoSec); in DSPI_MasterInit()
240 masterConfig->ctarConfig.lastSckToPcsDelayInNanoSec); in DSPI_MasterInit()
242 masterConfig->ctarConfig.betweenTransferDelayInNanoSec); in DSPI_MasterInit()
269 masterConfig->ctarConfig.baudRate = 500000; in DSPI_MasterGetDefaultConfig()
270 masterConfig->ctarConfig.bitsPerFrame = 8; in DSPI_MasterGetDefaultConfig()
[all …]
Dfsl_dspi.h255 dspi_master_ctar_config_t ctarConfig; /*!< Set the ctarConfig to the desired CTAR. */ member
285 dspi_slave_ctar_config_t ctarConfig; /*!< Set the ctarConfig to the desired CTAR. */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/components/spi/
Dfsl_adapter_dspi.c115 …dspiConfig.ctarConfig.cpol = (kHAL_SpiClockPolarityActiveHigh == config->polarity) ? kDSPI_ClockPo… in HAL_SpiMasterInit()
117 dspiConfig.ctarConfig.cpha = in HAL_SpiMasterInit()
119 …dspiConfig.ctarConfig.direction = (kHAL_SpiMsbFirst == config->direction) ? kDSPI_MsbFirst : kDSPI… in HAL_SpiMasterInit()
120 dspiConfig.ctarConfig.baudRate = config->baudRate_Bps; in HAL_SpiMasterInit()
141 …dspiConfig.ctarConfig.cpol = (kHAL_SpiClockPolarityActiveHigh == config->polarity) ? kDSPI_ClockPo… in HAL_SpiSlaveInit()
143 dspiConfig.ctarConfig.cpha = in HAL_SpiSlaveInit()