-
CONFIG_SPI_1_OP_MODES
¶
Port 1 supported operation modes (master/slave/both)
Type: int
Help¶
This sets the supported operation modes at runtime, by the SPI port 1, where: 1 is MASTER mode only (default) 2 is SLAVE mode only 3 is both modes are available.
Kconfig definition¶
At drivers/spi/Kconfig:108
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:38
Menu path: (top menu) → Device Drivers → SPI hardware bus support
config SPI_1_OP_MODES int prompt "Port 1 supported operation modes (master/slave/both)" ifSPI_1
&&SPI
range 1 3 ifSPI_1
&&SPI
default 1 ifSPI_1
&&SPI
depends onSPI_1
&&SPI
help This sets the supported operation modes at runtime, by the SPI port 1, 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.)