19#ifndef AT86RF215_PARAMS_H
20#define AT86RF215_PARAMS_H
34#ifndef AT86RF215_PARAM_SPI
35#define AT86RF215_PARAM_SPI (SPI_DEV(1))
37#ifndef AT86RF215_PARAM_SPI_CLK
38#define AT86RF215_PARAM_SPI_CLK (SPI_CLK_5MHZ)
40#ifndef AT86RF215_PARAM_CS
41#define AT86RF215_PARAM_CS (GPIO_PIN(2, 14))
43#ifndef AT86RF215_PARAM_INT
44#define AT86RF215_PARAM_INT (GPIO_PIN(2, 30))
46#ifndef AT86RF215_PARAM_RESET
47#define AT86RF215_PARAM_RESET (GPIO_PIN(3, 10))
50#ifndef AT86RF215_PARAMS
51#define AT86RF215_PARAMS { .spi = AT86RF215_PARAM_SPI, \
52 .spi_clk = AT86RF215_PARAM_SPI_CLK, \
53 .cs_pin = AT86RF215_PARAM_CS, \
54 .int_pin = AT86RF215_PARAM_INT, \
55 .reset_pin = AT86RF215_PARAM_RESET }
Interface definition for AT86RF215 based drivers.
struct holding all params needed for device initialization