Lines Matching refs:adc_config
311 adc_config_t adc_config; in mcux_gau_adc_init() local
317 ADC_GetDefaultConfig(&adc_config); in mcux_gau_adc_init()
320 adc_config.clockDivider = config->clock_div; in mcux_gau_adc_init()
321 adc_config.powerMode = config->power_mode; in mcux_gau_adc_init()
322 adc_config.enableInputGainBuffer = config->input_gain_buffer; in mcux_gau_adc_init()
323 adc_config.triggerSource = kADC_TriggerSourceSoftware; in mcux_gau_adc_init()
325 adc_config.inputMode = kADC_InputSingleEnded; in mcux_gau_adc_init()
327 adc_config.conversionMode = kADC_ConversionOneShot; in mcux_gau_adc_init()
329 adc_config.fifoThreshold = kADC_FifoThresholdData1; in mcux_gau_adc_init()
331 adc_config.resultWidth = kADC_ResultWidth16; in mcux_gau_adc_init()
332 adc_config.enableDMA = false; in mcux_gau_adc_init()
333 adc_config.enableADC = true; in mcux_gau_adc_init()
335 ADC_Init(base, &adc_config); in mcux_gau_adc_init()