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_MCP320X

MCP3204/MCP3208 driver

Type: bool

Help

Enable MCP3204/MCP3208 ADC driver.

The MCP3204/MCP3208 are 4/8 channel 12-bit A/D converters
with SPI interface.

Direct dependencies

(ADC && SHIELD_MIKROE_ADC_CLICK) || (ADC && SHIELD_MIKROE_ADC_CLICK) || (SPI && ADC)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

Kconfig definitions

At boards/shields/mikroe_adc_click/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:20

Menu path: (Top)

config ADC_MCP320X
    bool
    default y
    depends on ADC && SHIELD_MIKROE_ADC_CLICK

At boards/shields/mikroe_adc_click/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config ADC_MCP320X
    bool
    default y
    depends on ADC && SHIELD_MIKROE_ADC_CLICK

At drivers/adc/Kconfig.mcp320x:6

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

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

config ADC_MCP320X
    bool "MCP3204/MCP3208 driver"
    depends on SPI && ADC
    help
      Enable MCP3204/MCP3208 ADC driver.

      The MCP3204/MCP3208 are 4/8 channel 12-bit A/D converters
      with SPI interface.

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