Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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 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)
50
#ifdef __cplusplus
51
}
52
#endif
53
Generated on Sat Sep 6 2025 20:14:01 by
1.9.1