Default configuration. More...
Default configuration.
Definition in file sx1280_params.h.
Go to the source code of this file.
Variables | |
static const sx1280_params_t | sx1280_params [] |
Configuration struct. | |
Set default configuration parameters | |
Default values are adapted for mbed shield used with to nucleo64 boards
ARDUINO_PIN_10 -> GPIO_PIN(PORT_B, 6) -> GPIO_PIN(1, 6) ARDUINO_PIN_7 -> GPIO_PIN(PORT_A, 8) -> GPIO_PIN(0, 8) ARDUINO_PIN_6 -> GPIO_PIN(PORT_B, 10) -> GPIO_PIN(1, 10) ARDUINO_PIN_9 -> GPIO_PIN(PORT_C, 7) -> GPIO_PIN(2, 7) | |
#define | USE_RX_CONTINUOUS_MODE |
default RX MODE | |
#define | SX1280_RX_MODE SX1280_RX_CONTINUOUS_MODE |
continuous RX MODE | |
#define | SX1280_PARAM_SPI SPI_DEV(0) |
default SPI device | |
#define | SX1280_PARAM_SPI_CLK SPI_CLK_5MHZ |
default SPI speed | |
#define | SX1280_PARAM_SPI_MODE SPI_MODE_0 |
default SPI mode for sx1280 | |
#define | SX1280_PARAM_SPI_NSS GPIO_PIN(1, 6) |
SPI NSS pin. | |
#define | SX1280_PARAM_RESET GPIO_PIN(0, 8) |
Reset pin. | |
#define | SX1280_PARAM_DIO0 GPIO_PIN(1, 10) |
DIO0. | |
#define | SX1280_PARAM_DIO1 GPIO_PIN(2, 7) |
DIO1. | |
#define | SX1280_PARAMS |
Default sx1280 parameters. | |
#define SX1280_PARAM_DIO0 GPIO_PIN(1, 10) |
DIO0.
Definition at line 78 of file sx1280_params.h.
#define SX1280_PARAM_DIO1 GPIO_PIN(2, 7) |
DIO1.
Definition at line 82 of file sx1280_params.h.
#define SX1280_PARAM_RESET GPIO_PIN(0, 8) |
Reset pin.
Definition at line 74 of file sx1280_params.h.
#define SX1280_PARAM_SPI SPI_DEV(0) |
default SPI device
Definition at line 58 of file sx1280_params.h.
#define SX1280_PARAM_SPI_CLK SPI_CLK_5MHZ |
default SPI speed
Definition at line 62 of file sx1280_params.h.
#define SX1280_PARAM_SPI_MODE SPI_MODE_0 |
default SPI mode for sx1280
Definition at line 66 of file sx1280_params.h.
#define SX1280_PARAM_SPI_NSS GPIO_PIN(1, 6) |
SPI NSS pin.
Definition at line 70 of file sx1280_params.h.
#define SX1280_PARAMS |
Default sx1280 parameters.
Definition at line 89 of file sx1280_params.h.
#define SX1280_RX_MODE SX1280_RX_CONTINUOUS_MODE |
continuous RX MODE
Definition at line 52 of file sx1280_params.h.
#define USE_RX_CONTINUOUS_MODE |
default RX MODE
Definition at line 48 of file sx1280_params.h.
|
static |