enc28j60_params.h File Reference

Default configuration for the ENC28J60 driver. More...

Detailed Description

Default configuration for the ENC28J60 driver.

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

Definition in file enc28j60_params.h.

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

Go to the source code of this file.

Variables

static const enc28j60_params_t enc28j60_params []
 ENC28J60 configuration. More...
 

Set default configuration parameters for the ENC28J60 driver

#define ENC28J60_PARAM_SPI   (SPI_DEV(0))
 
#define ENC28J60_PARAM_CS   (GPIO_PIN(0, 0))
 
#define ENC28J60_PARAM_INT   (GPIO_PIN(0, 1))
 
#define ENC28J60_PARAM_RESET   (GPIO_PIN(0, 2))
 
#define ENC28J60_PARAMS
 

Macro Definition Documentation

◆ ENC28J60_PARAMS

#define ENC28J60_PARAMS
Value:
{ .spi = ENC28J60_PARAM_SPI, \
.cs_pin = ENC28J60_PARAM_CS, \
.int_pin = ENC28J60_PARAM_INT, \
.rst_pin = ENC28J60_PARAM_RESET }
#define ENC28J60_PARAM_RESET
ENC28J60 RESET signal (can be overriden)
Definition: board_modules.h:62
#define ENC28J60_PARAM_CS
ENC28J60 CS signal (can be overriden)
Definition: board_modules.h:56
#define ENC28J60_PARAM_INT
ENC28J60 INT signal (can be overriden)
Definition: board_modules.h:59
#define ENC28J60_PARAM_SPI
SPI_DEV(0) is used (fixed)
Definition: board_modules.h:53

Definition at line 46 of file enc28j60_params.h.

Variable Documentation

◆ enc28j60_params

const enc28j60_params_t enc28j60_params[]
static
Initial value:
= {
ENC28J60_PARAMS
}

ENC28J60 configuration.

Definition at line 56 of file enc28j60_params.h.