cc2420_params.h File Reference

Default configuration for the CC2420 driver. More...

Detailed Description

Default configuration for the CC2420 driver.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file cc2420_params.h.

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

Go to the source code of this file.

Variables

static const cc2420_params_t cc2420_params []
 CC2420 configuration. More...
 

Set default configuration parameters for the CC2420 driver

#define CC2420_PARAM_SPI   (SPI_DEV(0))
 
#define CC2420_PARAM_SPI_CLK   (SPI_CLK_5MHZ)
 
#define CC2420_PARAM_CS   (GPIO_PIN(0, 0))
 
#define CC2420_PARAM_FIFO   (GPIO_PIN(0, 1))
 
#define CC2420_PARAM_FIFOP   (GPIO_PIN(0, 2))
 
#define CC2420_PARAM_CCA   (GPIO_PIN(0, 3))
 
#define CC2420_PARAM_SFD   (GPIO_PIN(0, 3))
 
#define CC2420_PARAM_VREFEN   (GPIO_PIN(0, 3))
 
#define CC2420_PARAM_RESET   (GPIO_PIN(0, 3))
 
#define CC2420_PARAMS
 

Macro Definition Documentation

◆ CC2420_PARAMS

#define CC2420_PARAMS
Value:
{ .spi = CC2420_PARAM_SPI, \
.spi_clk = CC2420_PARAM_SPI_CLK, \
.pin_cs = CC2420_PARAM_CS, \
.pin_fifo = CC2420_PARAM_FIFO, \
.pin_fifop = CC2420_PARAM_FIFOP, \
.pin_cca = CC2420_PARAM_CCA, \
.pin_sfd = CC2420_PARAM_SFD, \
.pin_vrefen = CC2420_PARAM_VREFEN, \
.pin_reset = CC2420_PARAM_RESET }

Definition at line 61 of file cc2420_params.h.

Variable Documentation

◆ cc2420_params

Initial value:
=
{
CC2420_PARAMS
}

CC2420 configuration.

Definition at line 76 of file cc2420_params.h.