board.h File Reference

Board specific definitions for the SODAQ ExpLoRer board. More...

Detailed Description

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 board.h.

#include "cpu.h"
#include "board_common.h"
+ Include dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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)