:orphan: .. title:: SPI_3_OP_MODES .. option:: CONFIG_SPI_3_OP_MODES *Port 3 supported operation modes (master/slave/both)* Type: ``int`` Help ==== This sets the supported operation modes at runtime, by the SPI port 3, where: 1 is MASTER mode only (default) 2 is SLAVE mode only 3 is both modes are available. Direct dependencies =================== \ :option:`SPI_3 ` && \ :option:`SPI ` *(Includes any dependencies from ifs and menus.)* Default ======= - 1 Kconfig definition ================== .. highlight:: kconfig At ``drivers/spi/Kconfig:95`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:32`` → ``drivers/Kconfig:38`` Menu path: (Top) → Device Drivers → SPI hardware bus support → SPI port 3 .. parsed-literal:: config SPI_3_OP_MODES int "Port 3 supported operation modes (master/slave/both)" range 1 3 default 1 depends on \ :option:`SPI_3 ` && \ :option:`SPI ` help This sets the supported operation modes at runtime, by the SPI port 3, 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.)*