mrf24j40_params.h File Reference

Default configuration for the MRF24J40 driver. More...

Detailed Description

Default configuration for the MRF24J40 driver.

Author
Neo Nenaco neo@n.nosp@m.enac.nosp@m.o.de
Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net

Definition in file mrf24j40_params.h.

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

Go to the source code of this file.

Variables

static const mrf24j40_params_t mrf24j40_params []
 MRF24J40 configuration. More...
 

Set default configuration parameters for the MRF24J40 driver

#define MRF24J40_PARAM_SPI   (SPI_DEV(0))
 
#define MRF24J40_PARAM_SPI_CLK   (SPI_CLK_5MHZ)
 
#define MRF24J40_PARAM_CS   (GPIO_PIN(0, 0))
 
#define MRF24J40_PARAM_INT   (GPIO_PIN(0, 1))
 
#define MRF24J40_PARAM_RESET   (GPIO_PIN(0, 3))
 
#define MRF24J40_PARAMS
 

Macro Definition Documentation

◆ MRF24J40_PARAMS

#define MRF24J40_PARAMS
Value:
{ .spi = MRF24J40_PARAM_SPI, \
.spi_clk = MRF24J40_PARAM_SPI_CLK, \
.cs_pin = MRF24J40_PARAM_CS, \
.int_pin = MRF24J40_PARAM_INT, \
.reset_pin = MRF24J40_PARAM_RESET }

Definition at line 51 of file mrf24j40_params.h.

Variable Documentation

◆ mrf24j40_params

Initial value:
=
{
MRF24J40_PARAMS
}

MRF24J40 configuration.

Definition at line 62 of file mrf24j40_params.h.

MRF24J40_PARAM_SPI_CLK
#define MRF24J40_PARAM_SPI_CLK
SPI bus speed used (can be overridden)
Definition: board_modules.h:85
MRF24J40_PARAM_RESET
#define MRF24J40_PARAM_RESET
MRF24J40 RESET signal (can be overridden)
Definition: board_modules.h:94
MRF24J40_PARAM_SPI
#define MRF24J40_PARAM_SPI
SPI_DEV(0) is used (fixed)
Definition: board_modules.h:82
MRF24J40_PARAM_INT
#define MRF24J40_PARAM_INT
MRF24J40 INT signal (can be overridden)
Definition: board_modules.h:91
MRF24J40_PARAM_CS
#define MRF24J40_PARAM_CS
MRF24J40 CS signal (can be overridden)
Definition: board_modules.h:88