1menu "Example Configuration" 2 3 config EXAMPLE_ENC28J60_SPI_HOST 4 int "SPI Host Number" 5 range 0 2 6 default 1 7 help 8 Set the SPI host used to communicate with the SPI Ethernet Controller. 9 10 config EXAMPLE_ENC28J60_SCLK_GPIO 11 int "SPI SCLK GPIO number" 12 range 0 33 13 default 19 14 help 15 Set the GPIO number used by SPI SCLK. 16 17 config EXAMPLE_ENC28J60_MOSI_GPIO 18 int "SPI MOSI GPIO number" 19 range 0 33 20 default 23 21 help 22 Set the GPIO number used by SPI MOSI. 23 24 config EXAMPLE_ENC28J60_MISO_GPIO 25 int "SPI MISO GPIO number" 26 range 0 33 27 default 25 28 help 29 Set the GPIO number used by SPI MISO. 30 31 config EXAMPLE_ENC28J60_CS_GPIO 32 int "SPI CS GPIO number" 33 range 0 33 34 default 22 35 help 36 Set the GPIO number used by SPI CS. 37 38 config EXAMPLE_ENC28J60_SPI_CLOCK_MHZ 39 int "SPI clock speed (MHz)" 40 range 5 20 41 default 6 42 help 43 Set the clock speed (MHz) of SPI interface. 44 45 config EXAMPLE_ENC28J60_INT_GPIO 46 int "Interrupt GPIO number" 47 default 4 48 help 49 Set the GPIO number used by ENC28J60 interrupt. 50endmenu 51