-
CONFIG_SPI_0_OP_MODES¶
Port 0 supported operation modes (master/slave/both)
Type: int
Help¶
This sets the supported operation modes at runtime, by the SPI port 0, where: 1 is MASTER mode only (default) 2 is SLAVE mode only 3 is both modes are available.
Direct dependencies¶
(SPI_XEC_QMSPI && SPI && BOARD_MEC15XXEVB_ASSY6853) || (SPI_0 && SPI)
(Includes any dependencies from ifs and menus.)
Defaults¶
1
1
Kconfig definitions¶
At boards/arm/mec15xxevb_assy6853/Kconfig.defconfig:62
Included via Kconfig:8 → Kconfig.zephyr:18
Menu path: (Top)
config SPI_0_OP_MODES
int
default 1
depends on SPI_XEC_QMSPI && SPI && BOARD_MEC15XXEVB_ASSY6853
At drivers/spi/Kconfig:44
Included via Kconfig:8 → Kconfig.zephyr:32 → drivers/Kconfig:38
Menu path: (Top) → Device Drivers → SPI hardware bus support → SPI port 0
config SPI_0_OP_MODES
int "Port 0 supported operation modes (master/slave/both)"
range 1 3
default 1
depends on SPI_0 && SPI
help
This sets the supported operation modes at runtime, by the SPI
port 0, where:
1 is MASTER mode only (default)
2 is SLAVE mode only
3 is both modes are available.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)