sodaq-explorer/include/board.h File Reference

Support for the SODAQ ExpLoRer board. More...

Detailed Description

Support for the SODAQ ExpLoRer board.

Board specific definitions for the SODAQ ExpLoRer board

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

Definition in file sodaq-explorer/include/board.h.

#include "cpu.h"
#include "periph_conf.h"
+ Include dependency graph for sodaq-explorer/include/board.h:

Go to the source code of this file.

Macros

xtimer configuration
#define XTIMER_WIDTH   (16)
 
LED pin definitions and handlers
#define LED0_PIN   GPIO_PIN(PA, 21)
 
#define LED0_PORT   PORT->Group[PA]
 
#define LED0_MASK   (1 << 21)
 
#define LED0_ON   (LED0_PORT.OUTSET.reg = LED0_MASK)
 
#define LED0_OFF   (LED0_PORT.OUTCLR.reg = LED0_MASK)
 
#define LED0_TOGGLE   (LED0_PORT.OUTTGL.reg = LED0_MASK)
 
User button
#define BTN0_PIN   GPIO_PIN(PA, 14)
 
#define BTN0_MODE   GPIO_IN_PU
 
RN2483 configuration
#define RN2XX3_PARAM_UART   UART_DEV(2)
 
#define RN2XX3_PARAM_PIN_RESET   GPIO_PIN(PA, 7)
 

Functions

void board_init (void)
 Initialize board specific hardware, including clock, LEDs and std-IO.