Loading...
Searching...
No Matches
at86rf2xx_params.h File Reference

Default configuration for the AT86RF2xx driver. More...

Detailed Description

Default configuration for the AT86RF2xx driver.

Author
Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file at86rf2xx_params.h.

#include "at86rf2xx.h"
#include "board.h"
+ Include dependency graph for at86rf2xx_params.h:

Go to the source code of this file.

Variables

static const at86rf2xx_params_t at86rf2xx_params []
 AT86RF231 configuration.
 

Set default configuration parameters for the AT86RF2xx driver

#define AT86RF2XX_PARAM_SPI   (SPI_DEV(0))
 SPI bus the AT86RF2xx is connected to.
 
#define AT86RF2XX_PARAM_SPI_CLK   (SPI_CLK_5MHZ)
 Clock to drive the SPI bus when speaking with the AT86RF2xx.
 
#define AT86RF2XX_PARAM_CS   (GPIO_PIN(0, 0))
 GPIO pin the CS pin of the AT86RF2xx is connected to.
 
#define AT86RF2XX_PARAM_INT   (GPIO_PIN(0, 1))
 GPIO pin the INT pin of the AT86RF2xx is connected to.
 
#define AT86RF2XX_PARAM_SLEEP   (GPIO_PIN(0, 2))
 GPIO pin the SLEEP pin of the AT86RF2xx is connected to.
 
#define AT86RF2XX_PARAM_RESET   (GPIO_PIN(0, 3))
 GPIO pin the RESET pin of the AT86RF2xx is connected to.
 
#define AT86RF2XX_PARAMS
 Parameters to initialize the AT86RF2xx driver with.
 

Macro Definition Documentation

◆ AT86RF2XX_PARAM_CS

#define AT86RF2XX_PARAM_CS   (GPIO_PIN(0, 0))

GPIO pin the CS pin of the AT86RF2xx is connected to.

Definition at line 52 of file at86rf2xx_params.h.

◆ AT86RF2XX_PARAM_INT

#define AT86RF2XX_PARAM_INT   (GPIO_PIN(0, 1))

GPIO pin the INT pin of the AT86RF2xx is connected to.

Definition at line 59 of file at86rf2xx_params.h.

◆ AT86RF2XX_PARAM_RESET

#define AT86RF2XX_PARAM_RESET   (GPIO_PIN(0, 3))

GPIO pin the RESET pin of the AT86RF2xx is connected to.

Definition at line 73 of file at86rf2xx_params.h.

◆ AT86RF2XX_PARAM_SLEEP

#define AT86RF2XX_PARAM_SLEEP   (GPIO_PIN(0, 2))

GPIO pin the SLEEP pin of the AT86RF2xx is connected to.

Definition at line 66 of file at86rf2xx_params.h.

◆ AT86RF2XX_PARAM_SPI

#define AT86RF2XX_PARAM_SPI   (SPI_DEV(0))

SPI bus the AT86RF2xx is connected to.

Definition at line 38 of file at86rf2xx_params.h.

◆ AT86RF2XX_PARAM_SPI_CLK

#define AT86RF2XX_PARAM_SPI_CLK   (SPI_CLK_5MHZ)

Clock to drive the SPI bus when speaking with the AT86RF2xx.

Definition at line 45 of file at86rf2xx_params.h.

◆ AT86RF2XX_PARAMS

#define AT86RF2XX_PARAMS
Value:
{ .spi = AT86RF2XX_PARAM_SPI, \
.cs_pin = AT86RF2XX_PARAM_CS, \
.int_pin = AT86RF2XX_PARAM_INT, \
.sleep_pin = AT86RF2XX_PARAM_SLEEP, \
.reset_pin = AT86RF2XX_PARAM_RESET }
#define AT86RF2XX_PARAM_CS
GPIO pin the CS pin of the AT86RF2xx is connected to.
#define AT86RF2XX_PARAM_SPI
SPI bus the AT86RF2xx is connected to.
#define AT86RF2XX_PARAM_INT
GPIO pin the INT pin of the AT86RF2xx is connected to.
#define AT86RF2XX_PARAM_SPI_CLK
Clock to drive the SPI bus when speaking with the AT86RF2xx.
#define AT86RF2XX_PARAM_RESET
GPIO pin the RESET pin of the AT86RF2xx is connected to.
#define AT86RF2XX_PARAM_SLEEP
GPIO pin the SLEEP pin of the AT86RF2xx is connected to.

Parameters to initialize the AT86RF2xx driver with.

Definition at line 80 of file at86rf2xx_params.h.

Variable Documentation

◆ at86rf2xx_params

Initial value:
=
{
}
#define AT86RF2XX_PARAMS
Parameters to initialize the AT86RF2xx driver with.

AT86RF231 configuration.

Definition at line 98 of file at86rf2xx_params.h.