20#ifndef AT86RF2XX_PARAMS_H
21#define AT86RF2XX_PARAMS_H
34#ifndef AT86RF2XX_PARAM_SPI
38#define AT86RF2XX_PARAM_SPI (SPI_DEV(0))
41#ifndef AT86RF2XX_PARAM_SPI_CLK
45#define AT86RF2XX_PARAM_SPI_CLK (SPI_CLK_5MHZ)
48#ifndef AT86RF2XX_PARAM_CS
52#define AT86RF2XX_PARAM_CS (GPIO_PIN(0, 0))
55#ifndef AT86RF2XX_PARAM_INT
59#define AT86RF2XX_PARAM_INT (GPIO_PIN(0, 1))
62#ifndef AT86RF2XX_PARAM_SLEEP
66#define AT86RF2XX_PARAM_SLEEP (GPIO_PIN(0, 2))
69#ifndef AT86RF2XX_PARAM_RESET
73#define AT86RF2XX_PARAM_RESET (GPIO_PIN(0, 3))
76#ifndef AT86RF2XX_PARAMS
80#define AT86RF2XX_PARAMS { .spi = AT86RF2XX_PARAM_SPI, \
81 .spi_clk = AT86RF2XX_PARAM_SPI_CLK, \
82 .cs_pin = AT86RF2XX_PARAM_CS, \
83 .int_pin = AT86RF2XX_PARAM_INT, \
84 .sleep_pin = AT86RF2XX_PARAM_SLEEP, \
85 .reset_pin = AT86RF2XX_PARAM_RESET }
92#if AT86RF2XX_IS_PERIPH
Interface definition for AT86RF2xx based drivers.
#define AT86RF2XX_PARAMS
Parameters to initialize the AT86RF2xx driver with.
struct holding all params needed for device initialization