cc110x board specific configuration More...
cc110x board specific configuration
Definition in file cc110x_params.h.
Go to the source code of this file.
Variables | |
static const cc110x_params_t | cc110x_params [] |
CC110X initialization parameters. | |
Default parameters for the cc110x driver | |
These values are based on the msba2 board | |
#define | CC110X_PARAM_SPI SPI_DEV(0) |
SPI bus connected to CC110x. | |
#define | CC110X_PARAM_CS GPIO_PIN(1, 21) |
SPI-CS connected to CC110x. | |
#define | CC110X_PARAM_GDO0 GPIO_PIN(0, 27) |
GPIO connected to CC110x' GDO0 pin. | |
#define | CC110X_PARAM_GDO2 GPIO_PIN(0, 28) |
GPIO connected to CC110x's GDO2 pin. | |
#define | CC110X_PARAM_SPI_CLOCK SPI_CLK_5MHZ |
SPI clock frequency to use. | |
#define | CC110X_PARAM_CONFIG NULL |
PA table to use. | |
#define | CC110X_PARAM_CHANNELS (&cc110x_chanmap_868mhz_lora) |
Default channel map to use. | |
#define | CC110X_PARAMS |
Default initialization parameters of the CC110x driver. | |
#define CC110X_PARAM_CHANNELS (&cc110x_chanmap_868mhz_lora) |
Default channel map to use.
This must match to configuration you have chosen
Definition at line 93 of file cc110x_params.h.
#define CC110X_PARAM_CONFIG NULL |
PA table to use.
Choose the one matching the base frequency your transceiver uses, otherwise the TX power setting will be incorrect.
Default config to apply
If 868 MHz is used as base frequency, you can set this to NULL
Definition at line 80 of file cc110x_params.h.
#define CC110X_PARAM_CS GPIO_PIN(1, 21) |
SPI-CS connected to CC110x.
Definition at line 40 of file cc110x_params.h.
#define CC110X_PARAM_GDO0 GPIO_PIN(0, 27) |
GPIO connected to CC110x' GDO0 pin.
Definition at line 44 of file cc110x_params.h.
#define CC110X_PARAM_GDO2 GPIO_PIN(0, 28) |
GPIO connected to CC110x's GDO2 pin.
Definition at line 48 of file cc110x_params.h.
#define CC110X_PARAM_SPI SPI_DEV(0) |
SPI bus connected to CC110x.
Definition at line 36 of file cc110x_params.h.
#define CC110X_PARAM_SPI_CLOCK SPI_CLK_5MHZ |
SPI clock frequency to use.
Definition at line 52 of file cc110x_params.h.
#define CC110X_PARAMS |
Default initialization parameters of the CC110x driver.
Definition at line 101 of file cc110x_params.h.
|
static |
CC110X initialization parameters.
Definition at line 118 of file cc110x_params.h.