w5100_params.h File Reference

Default parameters for W5100 Ethernet devices. More...

Detailed Description

Default parameters for W5100 Ethernet devices.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file w5100_params.h.

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

Go to the source code of this file.

Variables

static const w5100_params_t w5100_params []
 W5100 configuration. More...
 

Default configuration parameters for the W5100 driver

#define W5100_PARAM_SPI   (SPI_DEV(0))
 Default SPI device.
 
#define W5100_PARAM_SPI_CLK   (SPI_CLK_5MHZ)
 Default SPI speed.
 
#define W5100_PARAM_CS   (GPIO_PIN(0, 0))
 Default SPI chip select pin.
 
#define W5100_PARAM_EVT   (GPIO_PIN(0, 1))
 Default event pin.
 
#define W5100_PARAMS
 

Macro Definition Documentation

◆ W5100_PARAMS

#define W5100_PARAMS
Value:
{ .spi = W5100_PARAM_SPI, \
.cs = W5100_PARAM_CS, \
.evt = W5100_PARAM_EVT }

Definition at line 46 of file w5100_params.h.

Variable Documentation

◆ w5100_params

const w5100_params_t w5100_params[]
static
Initial value:
= {
W5100_PARAMS
}

W5100 configuration.

Definition at line 56 of file w5100_params.h.

W5100_PARAM_SPI
#define W5100_PARAM_SPI
Default SPI device.
Definition: w5100_params.h:33
W5100_PARAM_CS
#define W5100_PARAM_CS
Default SPI chip select pin.
Definition: w5100_params.h:39
W5100_PARAM_SPI_CLK
#define W5100_PARAM_SPI_CLK
Default SPI speed.
Definition: w5100_params.h:36
W5100_PARAM_EVT
#define W5100_PARAM_EVT
Default event pin.
Definition: w5100_params.h:42