The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_SPI_6_OP_MODES

Port 6 supported operation modes (master/slave/both)

Type: int

Help

This sets the supported operation modes at runtime, by the SPI port 6, where: 1 is MASTER mode only (default) 2 is SLAVE mode only 3 is both modes are available.

Direct dependencies

SPI_6 && SPI

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/spi/Kconfig:170

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:36

Menu path: (top menu) → Device Drivers → SPI hardware bus support

config SPI_6_OP_MODES
    int
    prompt "Port 6 supported operation modes (master/slave/both)" if SPI_6 && SPI
    range 1 3 if SPI_6 && SPI
    default 1 if SPI_6 && SPI
    depends on SPI_6 && SPI
    help
      This sets the supported operation modes at runtime, by the SPI
      port 6, where:
      1 is MASTER mode only (default)
      2 is SLAVE mode only
      3 is both modes are available.

(Definitions include propagated dependencies, including from if’s and menus.)