This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired 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:40drivers/Kconfig:48drivers/adc/Kconfig:45

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.)