Searched refs:dspiConfig (Results 1 – 1 of 1) sorted by relevance
106 dspi_master_config_t dspiConfig; in HAL_SpiMasterInit() local113 DSPI_MasterGetDefaultConfig(&dspiConfig); in HAL_SpiMasterInit()115 …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()124 …DSPI_MasterInit((SPI_Type *)s_spiBases[masterHandle->instance], (void *)&dspiConfig, config->srcCl… in HAL_SpiMasterInit()132 dspi_slave_config_t dspiConfig; in HAL_SpiSlaveInit() local139 DSPI_SlaveGetDefaultConfig(&dspiConfig); in HAL_SpiSlaveInit()141 …dspiConfig.ctarConfig.cpol = (kHAL_SpiClockPolarityActiveHigh == config->polarity) ? kDSPI_ClockPo… in HAL_SpiSlaveInit()[all …]