Searched refs:spiDevCfg (Results 1 – 2 of 2) sorted by relevance
113 struct HAL_SPI_CFG_T *spiDevCfg = NULL; in SpiIomuxInit() local128 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() argument164 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 …]
71 struct HAL_SPI_CFG_T spiDevCfg; member