32#ifndef W5500_PARAM_SPI
33#define W5500_PARAM_SPI (SPI_DEV(0))
35#ifndef W5500_PARAM_SPI_CLK
36#define W5500_PARAM_SPI_CLK (SPI_CLK_10MHZ)
39#define W5500_PARAM_CS (GPIO_PIN(0, 27))
41#ifndef W5500_PARAM_INT
42#define W5500_PARAM_INT GPIO_UNDEF
44#ifndef CONFIG_W5500_POLLING_INTERVAL
45#define CONFIG_W5500_POLLING_INTERVAL 100u
53#define W5500_PARAMS { .spi = W5500_PARAM_SPI, \
54 .clk = W5500_PARAM_SPI_CLK, \
55 .cs = W5500_PARAM_CS, \
56 .irq = W5500_PARAM_INT, \
57 .polling_interval_ms = CONFIG_W5500_POLLING_INTERVAL }
53#define W5500_PARAMS { .spi = W5500_PARAM_SPI, \ …
#define W5500_PARAMS
W5500 initialization parameters.
static const w5500_params_t w5500_params[]
W5500 configuration.