32 #ifndef ENCX24J600_PARAM_SPI
33 #define ENCX24J600_PARAM_SPI (SPI_DEV(0))
35 #ifndef ENCX24J600_PARAM_CS
36 #define ENCX24J600_PARAM_CS (GPIO_PIN(0, 0))
38 #ifndef ENCX24J600_PARAM_INT
39 #define ENCX24J600_PARAM_INT (GPIO_PIN(0, 1))
42 #ifndef ENCX24J600_PARAMS
43 #define ENCX24J600_PARAMS { .spi = ENCX24J600_PARAM_SPI, \
44 .cs_pin = ENCX24J600_PARAM_CS, \
45 .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.