Lines Matching refs:adc_config
222 adc_config_t adc_config; in mcux_12b1msps_sar_adc_init() local
230 ADC_GetDefaultConfig(&adc_config); in mcux_12b1msps_sar_adc_init()
232 adc_config.referenceVoltageSource = config->ref_src; in mcux_12b1msps_sar_adc_init()
233 adc_config.clockSource = config->clock_src; in mcux_12b1msps_sar_adc_init()
234 adc_config.clockDriver = config->clock_drv; in mcux_12b1msps_sar_adc_init()
235 adc_config.samplePeriodMode = config->sample_period_mode; in mcux_12b1msps_sar_adc_init()
236 adc_config.resolution = kADC_Resolution12Bit; in mcux_12b1msps_sar_adc_init()
237 adc_config.enableContinuousConversion = false; in mcux_12b1msps_sar_adc_init()
238 adc_config.enableOverWrite = false; in mcux_12b1msps_sar_adc_init()
239 adc_config.enableHighSpeed = false; in mcux_12b1msps_sar_adc_init()
240 adc_config.enableLowPower = false; in mcux_12b1msps_sar_adc_init()
241 adc_config.enableLongSample = false; in mcux_12b1msps_sar_adc_init()
242 adc_config.enableAsynchronousClockOutput = true; in mcux_12b1msps_sar_adc_init()
244 ADC_Init(base, &adc_config); in mcux_12b1msps_sar_adc_init()