Loading...
Searching...
No Matches
rn2xx3_params.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Inria
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include "board.h"
19#include "rn2xx3.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
29#ifndef RN2XX3_PARAM_UART
30#define RN2XX3_PARAM_UART UART_DEV(1)
31#endif
32#ifndef RN2XX3_PARAM_BAUDRATE
33#define RN2XX3_PARAM_BAUDRATE (57600U)
34#endif
35#ifndef RN2XX3_PARAM_PIN_RESET
36#define RN2XX3_PARAM_PIN_RESET (GPIO_UNDEF)
37#endif
38
39#ifndef RN2XX3_PARAMS
40#define RN2XX3_PARAMS { .uart = RN2XX3_PARAM_UART, \
41 .baudrate = RN2XX3_PARAM_BAUDRATE, \
42 .pin_reset = RN2XX3_PARAM_PIN_RESET }
43#endif
45
50{
51 RN2XX3_PARAMS
52};
53
54#ifdef __cplusplus
55}
56#endif
57
High-level driver for the RN2483/RN2903 LoRa modules.
static const rn2xx3_params_t rn2xx3_params[]
RN2483/RN2903 configuration.
Configuration parameters for RN2483/RN2903 devices.
Definition rn2xx3.h:154