Loading...
Searching...
No Matches
w5500_params.h File Reference

Default parameters for W5500 Ethernet devices. More...

Detailed Description

Default parameters for W5500 Ethernet devices.

Author
Stefan Schmidt stems.nosp@m.chmi.nosp@m.dt@gm.nosp@m.ail..nosp@m.com

Definition in file w5500_params.h.

#include "board.h"
+ Include dependency graph for w5500_params.h:

Go to the source code of this file.

Variables

static const w5500_params_t w5500_params []
 W5500 configuration.
 

Default configuration parameters for the W5500 driver

#define W5500_PARAM_SPI   (SPI_DEV(0))
 Default SPI device.
 
#define W5500_PARAM_SPI_CLK   (SPI_CLK_10MHZ)
 Default SPI speed.
 
#define W5500_PARAM_CS   (GPIO_PIN(0, 27))
 Default SPI chip select pin.
 
#define W5500_PARAM_INT   GPIO_UNDEF
 set to invalid
 
#define CONFIG_W5500_POLLING_INTERVAL   100u
 default polling interval 100 ms
 
#define W5500_PARAMS
 W5500 initialization parameters.
 

Macro Definition Documentation

◆ CONFIG_W5500_POLLING_INTERVAL

#define CONFIG_W5500_POLLING_INTERVAL   100u

default polling interval 100 ms

Definition at line 45 of file w5500_params.h.

◆ W5500_PARAM_CS

#define W5500_PARAM_CS   (GPIO_PIN(0, 27))

Default SPI chip select pin.

Definition at line 39 of file w5500_params.h.

◆ W5500_PARAM_INT

#define W5500_PARAM_INT   GPIO_UNDEF

set to invalid

Definition at line 42 of file w5500_params.h.

◆ W5500_PARAM_SPI

#define W5500_PARAM_SPI   (SPI_DEV(0))

Default SPI device.

Definition at line 33 of file w5500_params.h.

◆ W5500_PARAM_SPI_CLK

#define W5500_PARAM_SPI_CLK   (SPI_CLK_10MHZ)

Default SPI speed.

Definition at line 36 of file w5500_params.h.

◆ W5500_PARAMS

#define W5500_PARAMS
Value:
{ .spi = W5500_PARAM_SPI, \
.cs = W5500_PARAM_CS, \
.irq = W5500_PARAM_INT, \
.polling_interval_ms = CONFIG_W5500_POLLING_INTERVAL }
#define W5500_PARAM_SPI_CLK
Default SPI speed.
#define CONFIG_W5500_POLLING_INTERVAL
default polling interval 100 ms
#define W5500_PARAM_INT
set to invalid
#define W5500_PARAM_SPI
Default SPI device.
#define W5500_PARAM_CS
Default SPI chip select pin.

W5500 initialization parameters.

Definition at line 53 of file w5500_params.h.

Variable Documentation

◆ w5500_params

const w5500_params_t w5500_params[]
static
Initial value:
= {
}
#define W5500_PARAMS
W5500 initialization parameters.

W5500 configuration.

Definition at line 64 of file w5500_params.h.