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_EMUL

ADC emulator

Type: bool

Help

Enable the ADC emulator driver. This is a fake driver in that it
does not talk to real hardware. It prenteds to be actual ADC. It
is used for testing higher-level API for ADC devices.

Direct dependencies

ADC

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At drivers/adc/Kconfig.adc_emul:4

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:48drivers/adc/Kconfig:63

Menu path: (Top) → Device Drivers → ADC drivers

config ADC_EMUL
    bool "ADC emulator"
    depends on ADC
    help
      Enable the ADC emulator driver. This is a fake driver in that it
      does not talk to real hardware. It prenteds to be actual ADC. It
      is used for testing higher-level API for ADC devices.

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