Lines Matching refs:adc_config
334 adc16_config_t adc_config; in mcux_adc16_init() local
338 ADC16_GetDefaultConfig(&adc_config); in mcux_adc16_init()
341 adc_config.clockSource = (adc16_clock_source_t)config->clk_source; in mcux_adc16_init()
342 adc_config.longSampleMode = in mcux_adc16_init()
344 adc_config.enableHighSpeed = config->high_speed; in mcux_adc16_init()
345 adc_config.enableContinuousConversion = config->continuous_convert; in mcux_adc16_init()
349 adc_config.referenceVoltageSource = kADC16_ReferenceVoltageSourceVref; in mcux_adc16_init()
351 adc_config.referenceVoltageSource = kADC16_ReferenceVoltageSourceValt; in mcux_adc16_init()
355 adc_config.clockDivider = kADC16_ClockDivider1; in mcux_adc16_init()
357 adc_config.clockDivider = kADC16_ClockDivider2; in mcux_adc16_init()
359 adc_config.clockDivider = kADC16_ClockDivider4; in mcux_adc16_init()
361 adc_config.clockDivider = kADC16_ClockDivider8; in mcux_adc16_init()
364 ADC16_Init(base, &adc_config); in mcux_adc16_init()