Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_nxp_flexio.c99 flexio_timer_config_t timerConfig; in pwm_nxp_flexio_set_cycles() local
140 timerConfig.timerOutput = kFLEXIO_TimerOutputOneNotAffectedByReset; in pwm_nxp_flexio_set_cycles()
141 timerConfig.timerMode = kFLEXIO_TimerModeDual8BitPWM; in pwm_nxp_flexio_set_cycles()
144 timerConfig.timerOutput = kFLEXIO_TimerOutputZeroNotAffectedByReset; in pwm_nxp_flexio_set_cycles()
145 timerConfig.timerMode = kFLEXIO_TimerModeDual8BitPWMLow; in pwm_nxp_flexio_set_cycles()
150 timerConfig.timerCompare = ((uint8_t)(pulse_cycles - 1U)) | in pwm_nxp_flexio_set_cycles()
154 timerConfig.timerDecrement = pwm_info->prescaler; in pwm_nxp_flexio_set_cycles()
155 timerConfig.timerStop = kFLEXIO_TimerStopBitDisabled; in pwm_nxp_flexio_set_cycles()
156 timerConfig.timerEnable = kFLEXIO_TimerEnabledAlways; in pwm_nxp_flexio_set_cycles()
157 timerConfig.timerDisable = kFLEXIO_TimerDisableNever; in pwm_nxp_flexio_set_cycles()
[all …]
/Zephyr-latest/drivers/spi/
Dspi_mcux_flexio.c133 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()
[all …]