The latest development version of this page may be more current than this released 2.5.0 version.
CONFIG_ADC_NRFX_ADC_CHANNEL_COUNT

Number of ADC channels

Type: int

Help

Number of ADC channels to be supported by the driver. Each channel needs a dedicated structure in RAM that stores the ADC settings to be used when sampling this channel.

Direct dependencies

ADC_NRFX_ADC && ADC

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At drivers/adc/Kconfig.nrfx:19

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:48drivers/adc/Kconfig:43

Menu path: (Top) → Device Drivers → ADC drivers → nRF ADC nrfx driver

config ADC_NRFX_ADC_CHANNEL_COUNT
    int "Number of ADC channels"
    range 1 8
    default 1
    depends on ADC_NRFX_ADC && ADC
    help
      Number of ADC channels to be supported by the driver. Each channel
      needs a dedicated structure in RAM that stores the ADC settings
      to be used when sampling this channel.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)