Searched refs:master_config (Results 1 – 8 of 8) sorted by relevance
/Zephyr-Core-2.7.6/drivers/spi/ |
D | spi_mcux_lpspi.c | 133 lpspi_master_config_t master_config; in spi_mcux_configure() local 142 LPSPI_MasterGetDefaultConfig(&master_config); in spi_mcux_configure() 158 master_config.bitsPerFrame = word_size; in spi_mcux_configure() 160 master_config.cpol = in spi_mcux_configure() 165 master_config.cpha = in spi_mcux_configure() 170 master_config.direction = in spi_mcux_configure() 175 master_config.baudRate = spi_cfg->frequency; in spi_mcux_configure() 177 master_config.pcsToSckDelayInNanoSec = config->pcs_sck_delay; in spi_mcux_configure() 178 master_config.lastSckToPcsDelayInNanoSec = config->sck_pcs_delay; in spi_mcux_configure() 179 master_config.betweenTransferDelayInNanoSec = config->transfer_delay; in spi_mcux_configure() [all …]
|
D | spi_rv32m1_lpspi.c | 134 lpspi_master_config_t master_config; in spi_mcux_configure() local 143 LPSPI_MasterGetDefaultConfig(&master_config); in spi_mcux_configure() 159 master_config.bitsPerFrame = word_size; in spi_mcux_configure() 161 master_config.cpol = in spi_mcux_configure() 166 master_config.cpha = in spi_mcux_configure() 171 master_config.direction = in spi_mcux_configure() 176 master_config.baudRate = spi_cfg->frequency; in spi_mcux_configure() 183 LPSPI_MasterInit(base, &master_config, clock_freq); in spi_mcux_configure()
|
D | spi_mcux_flexcomm.c | 172 spi_master_config_t master_config; in spi_mcux_configure() local 174 SPI_MasterGetDefaultConfig(&master_config); in spi_mcux_configure() 188 master_config.sselNum = spi_cfg->slave; in spi_mcux_configure() 189 master_config.sselPol = kSPI_SpolActiveAllLow; in spi_mcux_configure() 190 master_config.dataWidth = word_size - 1; in spi_mcux_configure() 192 master_config.polarity = in spi_mcux_configure() 197 master_config.phase = in spi_mcux_configure() 202 master_config.direction = in spi_mcux_configure() 207 master_config.baudRate_Bps = spi_cfg->frequency; in spi_mcux_configure() 209 SPI_MasterInit(base, &master_config, clock_freq); in spi_mcux_configure()
|
D | spi_mcux_dspi.c | 567 dspi_master_config_t master_config; in spi_mcux_configure() local 571 dspi_master_ctar_config_t *ctar_config = &master_config.ctarConfig; in spi_mcux_configure() 578 DSPI_MasterGetDefaultConfig(&master_config); in spi_mcux_configure() 580 master_config.whichPcs = spi_cfg->slave; in spi_mcux_configure() 581 master_config.whichCtar = config->which_ctar; in spi_mcux_configure() 582 master_config.pcsActiveHighOrLow = in spi_mcux_configure() 586 master_config.samplePoint = config->samplePoint; in spi_mcux_configure() 587 master_config.enableContinuousSCK = config->enable_continuous_sck; in spi_mcux_configure() 588 master_config.enableRxFifoOverWrite = config->enable_rxfifo_overwrite; in spi_mcux_configure() 589 master_config.enableModifiedTimingFormat = in spi_mcux_configure() [all …]
|
/Zephyr-Core-2.7.6/drivers/i2c/ |
D | i2c_mcux_lpi2c.c | 212 lpi2c_master_config_t master_config; in mcux_lpi2c_init() local 222 LPI2C_MasterGetDefaultConfig(&master_config); in mcux_lpi2c_init() 223 master_config.busIdleTimeout_ns = config->bus_idle_timeout_ns; in mcux_lpi2c_init() 224 LPI2C_MasterInit(base, &master_config, clock_freq); in mcux_lpi2c_init()
|
D | i2c_mcux_flexcomm.c | 183 i2c_master_config_t master_config; in mcux_flexcomm_init() local 194 I2C_MasterGetDefaultConfig(&master_config); in mcux_flexcomm_init() 195 I2C_MasterInit(base, &master_config, clock_freq); in mcux_flexcomm_init()
|
D | i2c_mcux.c | 192 i2c_master_config_t master_config; in i2c_mcux_init() local 199 I2C_MasterGetDefaultConfig(&master_config); in i2c_mcux_init() 200 I2C_MasterInit(base, &master_config, clock_freq); in i2c_mcux_init()
|
D | i2c_rv32m1_lpi2c.c | 207 lpi2c_master_config_t master_config; in rv32m1_lpi2c_init() local 225 LPI2C_MasterGetDefaultConfig(&master_config); in rv32m1_lpi2c_init() 226 LPI2C_MasterInit(config->base, &master_config, clk_freq); in rv32m1_lpi2c_init()
|