Home
last modified time | relevance | path

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

/drivers/hdf_core/adapter/platform/spi/
Dspi_bes.c113 struct HAL_SPI_CFG_T *spiDevCfg = NULL; in SpiIomuxInit() local
128 spiDevCfg = &spiDevice->spiDevCfg; in SpiIomuxInit()
129 if (spiDevCfg == NULL) { in SpiIomuxInit()
133 spiDevCfg->rate = resource->speed; in SpiIomuxInit()
162 static int32_t SpiDevCfgInit(struct HAL_SPI_CFG_T *spiDevCfg, const struct SpiResource *resource) in SpiDevCfgInit() argument
164 if (spiDevCfg == NULL || resource == NULL) { in SpiDevCfgInit()
170 spiDevCfg->clk_delay_half = false; in SpiDevCfgInit()
171 spiDevCfg->clk_polarity = false; in SpiDevCfgInit()
174 spiDevCfg->clk_delay_half = true; in SpiDevCfgInit()
175 spiDevCfg->clk_polarity = false; in SpiDevCfgInit()
[all …]
Dspi_bes.h71 struct HAL_SPI_CFG_T spiDevCfg; member