Lines Matching refs:shifterConfig

132 	flexio_shifter_config_t shifterConfig;  in spi_flexio_master_init()  local
139 (void)memset(&shifterConfig, 0, sizeof(shifterConfig)); in spi_flexio_master_init()
157 shifterConfig.timerSelect = base->timerIndex[0]; in spi_flexio_master_init()
158 shifterConfig.pinConfig = kFLEXIO_PinConfigOutput; in spi_flexio_master_init()
159 shifterConfig.pinSelect = base->SDOPinIndex; in spi_flexio_master_init()
160 shifterConfig.pinPolarity = kFLEXIO_PinActiveHigh; in spi_flexio_master_init()
161 shifterConfig.shifterMode = kFLEXIO_ShifterModeTransmit; in spi_flexio_master_init()
162 shifterConfig.inputSource = kFLEXIO_ShifterInputFromPin; in spi_flexio_master_init()
164 shifterConfig.timerPolarity = kFLEXIO_ShifterTimerPolarityOnNegitive; in spi_flexio_master_init()
165 shifterConfig.shifterStop = kFLEXIO_ShifterStopBitDisable; in spi_flexio_master_init()
166 shifterConfig.shifterStart = kFLEXIO_ShifterStartBitDisabledLoadDataOnEnable; in spi_flexio_master_init()
168 shifterConfig.timerPolarity = kFLEXIO_ShifterTimerPolarityOnPositive; in spi_flexio_master_init()
169 shifterConfig.shifterStop = kFLEXIO_ShifterStopBitLow; in spi_flexio_master_init()
170 shifterConfig.shifterStart = kFLEXIO_ShifterStartBitDisabledLoadDataOnShift; in spi_flexio_master_init()
173 FLEXIO_SetShifterConfig(base->flexioBase, base->shifterIndex[0], &shifterConfig); in spi_flexio_master_init()
176 shifterConfig.timerSelect = base->timerIndex[0]; in spi_flexio_master_init()
177 shifterConfig.pinConfig = kFLEXIO_PinConfigOutputDisabled; in spi_flexio_master_init()
178 shifterConfig.pinSelect = base->SDIPinIndex; in spi_flexio_master_init()
179 shifterConfig.pinPolarity = kFLEXIO_PinActiveHigh; in spi_flexio_master_init()
180 shifterConfig.shifterMode = kFLEXIO_ShifterModeReceive; in spi_flexio_master_init()
181 shifterConfig.inputSource = kFLEXIO_ShifterInputFromPin; in spi_flexio_master_init()
182 shifterConfig.shifterStop = kFLEXIO_ShifterStopBitDisable; in spi_flexio_master_init()
183 shifterConfig.shifterStart = kFLEXIO_ShifterStartBitDisabledLoadDataOnEnable; in spi_flexio_master_init()
185 shifterConfig.timerPolarity = kFLEXIO_ShifterTimerPolarityOnPositive; in spi_flexio_master_init()
187 shifterConfig.timerPolarity = kFLEXIO_ShifterTimerPolarityOnNegitive; in spi_flexio_master_init()
190 FLEXIO_SetShifterConfig(base->flexioBase, base->shifterIndex[1], &shifterConfig); in spi_flexio_master_init()