Loading...
Searching...
No Matches
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 "mrf24j40.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.
 

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_PARAM_CS

#define MRF24J40_PARAM_CS   (GPIO_PIN(0, 0))

Definition at line 42 of file mrf24j40_params.h.

◆ MRF24J40_PARAM_INT

#define MRF24J40_PARAM_INT   (GPIO_PIN(0, 1))

Definition at line 45 of file mrf24j40_params.h.

◆ MRF24J40_PARAM_RESET

#define MRF24J40_PARAM_RESET   (GPIO_PIN(0, 3))

Definition at line 48 of file mrf24j40_params.h.

◆ MRF24J40_PARAM_SPI

#define MRF24J40_PARAM_SPI   (SPI_DEV(0))

Definition at line 36 of file mrf24j40_params.h.

◆ MRF24J40_PARAM_SPI_CLK

#define MRF24J40_PARAM_SPI_CLK   (SPI_CLK_5MHZ)

Definition at line 39 of file mrf24j40_params.h.

◆ 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 }
#define MRF24J40_PARAM_INT
MRF24J40 INT signal (can be overridden)
#define MRF24J40_PARAM_SPI_CLK
SPI bus speed used (can be overridden)
#define MRF24J40_PARAM_CS
MRF24J40 CS signal (can be overridden)
#define MRF24J40_PARAM_SPI
SPI_DEV(0) is used (fixed)
#define MRF24J40_PARAM_RESET
MRF24J40 RESET signal (can be overridden)

Definition at line 52 of file mrf24j40_params.h.

Variable Documentation

◆ mrf24j40_params

Initial value:
=
{
MRF24J40_PARAMS
}

MRF24J40 configuration.

Definition at line 63 of file mrf24j40_params.h.