1# ADC configuration options
2
3# Copyright (c) 2018, Nordic Semiconductor ASA
4# SPDX-License-Identifier: Apache-2.0
5
6config ADC_NRFX_ADC
7	bool "nRF ADC nrfx driver"
8	default y
9	depends on DT_HAS_NORDIC_NRF_ADC_ENABLED
10	select NRFX_ADC
11	select ADC_CONFIGURABLE_INPUTS
12	help
13	  Enable support for nrfx ADC driver for nRF51 MCU series.
14
15config ADC_NRFX_ADC_CHANNEL_COUNT
16	int "Number of ADC channels"
17	depends on ADC_NRFX_ADC
18	range 1 8
19	default 1
20	help
21	  Number of ADC channels to be supported by the driver. Each channel
22	  needs a dedicated structure in RAM that stores the ADC settings
23	  to be used when sampling this channel.
24
25config ADC_NRFX_SAADC
26	bool "nRF SAADC nrfx driver"
27	default y
28	depends on DT_HAS_NORDIC_NRF_SAADC_ENABLED
29	select ADC_CONFIGURABLE_INPUTS
30	help
31	  Enable support for nrfx SAADC driver.
32