Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_mcux_flexio.c126 static void spi_flexio_master_init(FLEXIO_SPI_Type *base, flexio_spi_master_config_t *masterConfig, in spi_flexio_master_init() argument
130 assert(masterConfig != NULL); in spi_flexio_master_init()
146 ctrlReg |= (FLEXIO_CTRL_DBGE(masterConfig->enableInDebug) | in spi_flexio_master_init()
147 FLEXIO_CTRL_FASTACC(masterConfig->enableFastAccess) | in spi_flexio_master_init()
148 FLEXIO_CTRL_FLEXEN(masterConfig->enableMaster)); in spi_flexio_master_init()
149 if (!masterConfig->enableInDoze) { in spi_flexio_master_init()
163 if (masterConfig->phase == kFLEXIO_SPI_ClockPhaseFirstEdge) { in spi_flexio_master_init()
184 if (masterConfig->phase == kFLEXIO_SPI_ClockPhaseFirstEdge) { in spi_flexio_master_init()
208 timerDiv = (uint16_t)(srcClock_Hz / masterConfig->baudRate_Bps); in spi_flexio_master_init()
211 timerCmp = ((uint16_t)masterConfig->dataMode * 2U - 1U) << 8U; in spi_flexio_master_init()