board.h File Reference

Board specific definitions for the LSN50 board. More...

Detailed Description

Board specific definitions for the LSN50 board.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file board.h.

#include <stdint.h>
#include "cpu.h"
+ Include dependency graph for board.h:

Go to the source code of this file.

Functions

void board_init (void)
 Initialize board specific hardware.
 

xtimer configuration

#define XTIMER_WIDTH   (16)
 

sx1276 configuration

#define SX127X_PARAM_SPI   SPI_DEV(0)
 
#define SX127X_PARAM_SPI_NSS   GPIO_PIN(PORT_A, 15)
 
#define SX127X_PARAM_RESET   GPIO_PIN(PORT_B, 0)
 
#define SX127X_PARAM_DIO0   GPIO_PIN(PORT_C, 13)
 
#define SX127X_PARAM_DIO1   GPIO_PIN(PORT_B, 10)
 
#define SX127X_PARAM_DIO2   GPIO_PIN(PORT_B, 11)
 
#define SX127X_PARAM_DIO3   GPIO_PIN(PORT_B, 8)
 
#define SX127X_PARAM_DIO4   GPIO_PIN(PORT_B, 9)
 
#define SX127X_PARAM_DIO5   GPIO_PIN(PORT_B, 1)
 
#define SX127X_PARAM_PASELECT   (SX127X_PA_BOOST)