-
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.
Default¶
1
Kconfig definition¶
At <Zephyr>/drivers/spi/Kconfig:61
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:32
→ <Zephyr>/drivers/Kconfig:38
Menu path: (Top) → Device Drivers → SPI hardware bus support → SPI port 1
config SPI_1_OP_MODES int "Port 1 supported operation modes (master/slave/both)" range 1 3 default 1 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.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)