kw2xrf_params.h File Reference

Default configuration for the KW2XRF driver. More...

Detailed Description

Default configuration for the KW2XRF driver.

Author
Peter Kietzmann peter.nosp@m..kie.nosp@m.tzman.nosp@m.n@ha.nosp@m.w-ham.nosp@m.burg.nosp@m..de

Definition in file kw2xrf_params.h.

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

Go to the source code of this file.

Variables

static const kw2xrf_params_t kw2xrf_params []
 KW2XRF configuration. More...
 

Set default configuration parameters for the KW2XRF driver

#define KW2XRF_PARAM_SPI   (SPI_DEV(0))
 
#define KW2XRF_PARAM_SPI_CLK   (SPI_CLK_10MHZ)
 
#define KW2XRF_PARAM_CS   (GPIO_PIN(0, 0))
 
#define KW2XRF_PARAM_INT   (GPIO_PIN(0, 1))
 
#define KW2XRF_PARAM_SLEEP   (GPIO_PIN(0, 2))
 
#define KW2XRF_PARAM_RESET   (GPIO_PIN(0, 3))
 
#define KW2XRF_PARAMS
 

Macro Definition Documentation

◆ KW2XRF_PARAMS

#define KW2XRF_PARAMS
Value:
{ .spi = KW2XRF_PARAM_SPI, \
.spi_clk = KW2XRF_PARAM_SPI_CLK, \
.cs_pin = KW2XRF_PARAM_CS, \
.int_pin = KW2XRF_PARAM_INT }

Definition at line 52 of file kw2xrf_params.h.

Variable Documentation

◆ kw2xrf_params

Initial value:
=
{
KW2XRF_PARAMS
}

KW2XRF configuration.

Definition at line 62 of file kw2xrf_params.h.