Loading...
Searching...
No Matches
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.
 

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_PARAM_CS

#define W5100_PARAM_CS   (GPIO_PIN(0, 0))

Default SPI chip select pin.

Definition at line 49 of file w5100_params.h.

◆ W5100_PARAM_EVT

#define W5100_PARAM_EVT   (GPIO_PIN(0, 1))

Default event pin.

Definition at line 52 of file w5100_params.h.

◆ W5100_PARAM_SPI

#define W5100_PARAM_SPI   (SPI_DEV(0))

Default SPI device.

Definition at line 43 of file w5100_params.h.

◆ W5100_PARAM_SPI_CLK

#define W5100_PARAM_SPI_CLK   (SPI_CLK_5MHZ)

Default SPI speed.

Definition at line 46 of file w5100_params.h.

◆ W5100_PARAMS

#define W5100_PARAMS
Value:
{ .spi = W5100_PARAM_SPI, \
.cs = W5100_PARAM_CS, \
.evt = W5100_PARAM_EVT }
#define W5100_PARAM_SPI_CLK
Default SPI speed.
#define W5100_PARAM_CS
Default SPI chip select pin.
#define W5100_PARAM_EVT
Default event pin.
#define W5100_PARAM_SPI
Default SPI device.

Definition at line 56 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 66 of file w5100_params.h.