Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Inria
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include <stdint.h>
19
20#include "cpu.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
30#define XTIMER_WIDTH (16)
32
37#define SX127X_PARAM_SPI SPI_DEV(0)
38#define SX127X_PARAM_SPI_NSS GPIO_PIN(PORT_A, 15)
39
40#define SX127X_PARAM_RESET GPIO_PIN(PORT_B, 0)
41#define SX127X_PARAM_DIO0 GPIO_PIN(PORT_C, 13)
42#define SX127X_PARAM_DIO1 GPIO_PIN(PORT_B, 10)
43#define SX127X_PARAM_DIO2 GPIO_PIN(PORT_B, 11)
44#define SX127X_PARAM_DIO3 GPIO_PIN(PORT_B, 8)
45#define SX127X_PARAM_DIO4 GPIO_PIN(PORT_B, 9)
46#define SX127X_PARAM_DIO5 GPIO_PIN(PORT_B, 1)
47#define SX127X_PARAM_PASELECT (SX127X_PA_BOOST)
49
50#ifdef __cplusplus
51}
52#endif
53