19#ifndef ENC28J60_PARAMS_H
20#define ENC28J60_PARAMS_H
32#ifndef ENC28J60_PARAM_SPI
33#define ENC28J60_PARAM_SPI (SPI_DEV(0))
35#ifndef ENC28J60_PARAM_CS
36#define ENC28J60_PARAM_CS (GPIO_PIN(0, 0))
38#ifndef ENC28J60_PARAM_INT
39#define ENC28J60_PARAM_INT (GPIO_PIN(0, 1))
41#ifndef ENC28J60_PARAM_RESET
42#define ENC28J60_PARAM_RESET (GPIO_PIN(0, 2))
45#ifndef ENC28J60_PARAMS
46#define ENC28J60_PARAMS { .spi = ENC28J60_PARAM_SPI, \
47 .cs_pin = ENC28J60_PARAM_CS, \
48 .int_pin = ENC28J60_PARAM_INT, \
49 .rst_pin = ENC28J60_PARAM_RESET }
static const enc28j60_params_t enc28j60_params[]
ENC28J60 configuration.
Struct containing the needed peripheral configuration.