21#ifndef MRF24J40_PARAMS_H
22#define MRF24J40_PARAMS_H
35#ifndef MRF24J40_PARAM_SPI
36#define MRF24J40_PARAM_SPI (SPI_DEV(0))
38#ifndef MRF24J40_PARAM_SPI_CLK
39#define MRF24J40_PARAM_SPI_CLK (SPI_CLK_5MHZ)
41#ifndef MRF24J40_PARAM_CS
42#define MRF24J40_PARAM_CS (GPIO_PIN(0, 0))
44#ifndef MRF24J40_PARAM_INT
45#define MRF24J40_PARAM_INT (GPIO_PIN(0, 1))
47#ifndef MRF24J40_PARAM_RESET
48#define MRF24J40_PARAM_RESET (GPIO_PIN(0, 3))
51#ifndef MRF24J40_PARAMS
52#define MRF24J40_PARAMS { .spi = MRF24J40_PARAM_SPI, \
53 .spi_clk = MRF24J40_PARAM_SPI_CLK, \
54 .cs_pin = MRF24J40_PARAM_CS, \
55 .int_pin = MRF24J40_PARAM_INT, \
56 .reset_pin = MRF24J40_PARAM_RESET }
Interface definition for MRF24J40 based drivers .
struct holding all params needed for device initialization