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

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_PARAM_CS

#define KW2XRF_PARAM_CS   (GPIO_PIN(0, 0))

Definition at line 40 of file kw2xrf_params.h.

◆ KW2XRF_PARAM_INT

#define KW2XRF_PARAM_INT   (GPIO_PIN(0, 1))

Definition at line 43 of file kw2xrf_params.h.

◆ KW2XRF_PARAM_RESET

#define KW2XRF_PARAM_RESET   (GPIO_PIN(0, 3))

Definition at line 49 of file kw2xrf_params.h.

◆ KW2XRF_PARAM_SLEEP

#define KW2XRF_PARAM_SLEEP   (GPIO_PIN(0, 2))

Definition at line 46 of file kw2xrf_params.h.

◆ KW2XRF_PARAM_SPI

#define KW2XRF_PARAM_SPI   (SPI_DEV(0))

Definition at line 34 of file kw2xrf_params.h.

◆ KW2XRF_PARAM_SPI_CLK

#define KW2XRF_PARAM_SPI_CLK   (SPI_CLK_10MHZ)

Definition at line 37 of file kw2xrf_params.h.

◆ 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, \
.rst_pin = KW2XRF_PARAM_RESET }

Definition at line 53 of file kw2xrf_params.h.

Variable Documentation

◆ kw2xrf_params

Initial value:
=
{
KW2XRF_PARAMS
}

KW2XRF configuration.

Definition at line 64 of file kw2xrf_params.h.