Loading...
Searching...
No Matches
rn2xx3_params.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2017 Inria
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
9#pragma once
10
20
21#include "board.h"
22#include "rn2xx3.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
32#ifndef RN2XX3_PARAM_UART
33#define RN2XX3_PARAM_UART UART_DEV(1)
34#endif
35#ifndef RN2XX3_PARAM_BAUDRATE
36#define RN2XX3_PARAM_BAUDRATE (57600U)
37#endif
38#ifndef RN2XX3_PARAM_PIN_RESET
39#define RN2XX3_PARAM_PIN_RESET (GPIO_UNDEF)
40#endif
41
42#ifndef RN2XX3_PARAMS
43#define RN2XX3_PARAMS { .uart = RN2XX3_PARAM_UART, \
44 .baudrate = RN2XX3_PARAM_BAUDRATE, \
45 .pin_reset = RN2XX3_PARAM_PIN_RESET }
46#endif
48
53{
54 RN2XX3_PARAMS
55};
56
57#ifdef __cplusplus
58}
59#endif
60
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