19#ifndef CC110X_PARAMS_H
20#define CC110X_PARAMS_H
35#ifndef CC110X_PARAM_SPI
36#define CC110X_PARAM_SPI SPI_DEV(0)
39#ifndef CC110X_PARAM_CS
40#define CC110X_PARAM_CS GPIO_PIN(1, 21)
43#ifndef CC110X_PARAM_GDO0
44#define CC110X_PARAM_GDO0 GPIO_PIN(0, 27)
47#ifndef CC110X_PARAM_GDO2
48#define CC110X_PARAM_GDO2 GPIO_PIN(0, 28)
51#ifndef CC110X_PARAM_SPI_CLOCK
52#define CC110X_PARAM_SPI_CLOCK SPI_CLK_5MHZ
55#ifndef CC110X_PARAM_PATABLE
62#if IS_USED(MODULE_CC110X_433MHZ)
63#define CC110X_PARAM_PATABLE (&cc110x_patable_433mhz)
64#elif IS_USED(MODULE_CC110X_868MHZ)
65#define CC110X_PARAM_PATABLE (&cc110x_patable_868mhz)
66#elif IS_USED(MODULE_CC110X_915MHZ)
67#define CC110X_PARAM_PATABLE (&cc110x_patable_915mhz)
71#ifndef CC110X_PARAM_CONFIG
77#if IS_USED(MODULE_CC110X_433MHZ)
78#define CC110X_PARAM_CONFIG (&cc110x_config_433mhz_250kbps_300khz)
80#define CC110X_PARAM_CONFIG NULL
84#ifndef CC110X_PARAM_CHANNELS
90#if IS_USED(MODULE_CC110X_433MHZ)
91#define CC110X_PARAM_CHANNELS (&cc110x_chanmap_433mhz_300khz)
93#define CC110X_PARAM_CHANNELS (&cc110x_chanmap_868mhz_lora)
101#define CC110X_PARAMS { \
102 .spi = CC110X_PARAM_SPI, \
103 .spi_clk = CC110X_PARAM_SPI_CLOCK, \
104 .cs = CC110X_PARAM_CS, \
105 .gdo0 = CC110X_PARAM_GDO0, \
106 .gdo2 = CC110X_PARAM_GDO2, \
107 .patable = CC110X_PARAM_PATABLE, \
108 .config = CC110X_PARAM_CONFIG, \
109 .channels = CC110X_PARAM_CHANNELS, \
#define CC110X_PARAMS
Default initialization parameters of the CC110x driver.
static const cc110x_params_t cc110x_params[]
CC110X initialization parameters.
Default settings of the TI CC1100/CC1101 transceiver.
Structure holding all parameter for driver initialization.