19 #ifndef ENCX24J600_PARAMS_H
20 #define ENCX24J600_PARAMS_H
33 #ifndef ENCX24J600_PARAM_SPI
34 #define ENCX24J600_PARAM_SPI (SPI_DEV(0))
36 #ifndef ENCX24J600_PARAM_CS
37 #define ENCX24J600_PARAM_CS (GPIO_PIN(0, 0))
39 #ifndef ENCX24J600_PARAM_INT
40 #define ENCX24J600_PARAM_INT (GPIO_PIN(0, 1))
43 #ifndef ENCX24J600_PARAMS
44 #define ENCX24J600_PARAMS { .spi = ENCX24J600_PARAM_SPI, \
45 .cs_pin = ENCX24J600_PARAM_CS, \
46 .int_pin = ENCX24J600_PARAM_INT }
Interface definition for the ENCX24J600 driver.
static const encx24j600_params_t encx24j600_params[]
ENCX24J600 configuration.
Struct containing the needed peripheral configuration.