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 
18 #include <stdint.h>
19 
20 #include "cpu.h"
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
30 #define XTIMER_WIDTH (16)
37 #define SX127X_PARAM_SPI_NSS GPIO_PIN(PORT_A, 15)
38 #define SX127X_PARAM_RESET GPIO_PIN(PORT_A, 9)
39 #define SX127X_PARAM_DIO0 GPIO_PIN(PORT_A, 2)
40 #define SX127X_PARAM_DIO1 GPIO_PIN(PORT_A, 3)
41 #define SX127X_PARAM_DIO2 GPIO_PIN(PORT_A, 5)
42 #define SX127X_PARAM_DIO3 GPIO_PIN(PORT_A, 6)
43 #define SX127X_PARAM_PASELECT (SX127X_PA_BOOST)
46 #ifdef __cplusplus
47 }
48 #endif
49