mrf24j40_params.h File Reference

Default configuration for the MRF24J40 driver. More...

Detailed Description

Default configuration for the MRF24J40 driver.

Neo Nenaco
Koen Zandberg

Definition in file mrf24j40_params.h.

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

Go to the source code of this file.


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_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


#define MRF24J40_PARAMS
{ .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 }
#define MRF24J40_PARAM_RESET
MRF24J40 RESET signal (can be overridden)
Definition: board_modules.h:94
#define MRF24J40_PARAM_SPI
SPI_DEV(0) is used (fixed)
Definition: board_modules.h:82
#define MRF24J40_PARAM_INT
MRF24J40 INT signal (can be overridden)
Definition: board_modules.h:91
#define MRF24J40_PARAM_CS
MRF24J40 CS signal (can be overridden)
Definition: board_modules.h:88
#define MRF24J40_PARAM_SPI_CLK
SPI bus speed used (can be overridden)
Definition: board_modules.h:85

Definition at line 51 of file mrf24j40_params.h.

Variable Documentation

◆ mrf24j40_params

Initial value:

MRF24J40 configuration.

Definition at line 62 of file mrf24j40_params.h.