Lines Matching refs:timerConfig
133 flexio_timer_config_t timerConfig; in spi_flexio_master_init() local
140 (void)memset(&timerConfig, 0, sizeof(timerConfig)); in spi_flexio_master_init()
193 timerConfig.triggerSelect = FLEXIO_TIMER_TRIGGER_SEL_SHIFTnSTAT(base->shifterIndex[0]); in spi_flexio_master_init()
194 timerConfig.triggerPolarity = kFLEXIO_TimerTriggerPolarityActiveLow; in spi_flexio_master_init()
195 timerConfig.triggerSource = kFLEXIO_TimerTriggerSourceInternal; in spi_flexio_master_init()
196 timerConfig.pinConfig = kFLEXIO_PinConfigOutput; in spi_flexio_master_init()
197 timerConfig.pinSelect = base->SCKPinIndex; in spi_flexio_master_init()
198 timerConfig.pinPolarity = pol ? kFLEXIO_PinActiveLow : kFLEXIO_PinActiveHigh; in spi_flexio_master_init()
199 timerConfig.timerMode = kFLEXIO_TimerModeDual8BitBaudBit; in spi_flexio_master_init()
200 timerConfig.timerOutput = kFLEXIO_TimerOutputZeroNotAffectedByReset; in spi_flexio_master_init()
201 timerConfig.timerDecrement = kFLEXIO_TimerDecSrcOnFlexIOClockShiftTimerOutput; in spi_flexio_master_init()
202 timerConfig.timerReset = kFLEXIO_TimerResetNever; in spi_flexio_master_init()
203 timerConfig.timerDisable = kFLEXIO_TimerDisableOnTimerCompare; in spi_flexio_master_init()
204 timerConfig.timerEnable = kFLEXIO_TimerEnableOnTriggerHigh; in spi_flexio_master_init()
205 timerConfig.timerStop = kFLEXIO_TimerStopBitEnableOnTimerDisable; in spi_flexio_master_init()
206 timerConfig.timerStart = kFLEXIO_TimerStartBitEnabled; in spi_flexio_master_init()
214 timerConfig.timerCompare = timerCmp; in spi_flexio_master_init()
216 FLEXIO_SetTimerConfig(base->flexioBase, base->timerIndex[0], &timerConfig); in spi_flexio_master_init()