Loading...
Searching...
No Matches
board.h File Reference

Support for the Arduino MKRWAN1300 board. More...

Detailed Description

Support for the Arduino MKRWAN1300 board.

Board specific definitions for the Arduino MKRWAN1300 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 "periph_conf.h"
#include "board_common.h"
#include "arduino_pinmap.h"
#include "periph/gpio.h"
+ Include dependency graph for board.h:

Go to the source code of this file.

LED pin definitions and handlers

#define LED0_PIN   GPIO_PIN(PA, 20)
 
#define LED_PORT   PORT->Group[PA]
 
#define LED0_MASK   (1 << 20)
 
#define LED0_ON   (LED_PORT.OUTSET.reg = LED0_MASK)
 
#define LED0_OFF   (LED_PORT.OUTCLR.reg = LED0_MASK)
 
#define LED0_TOGGLE   (LED_PORT.OUTTGL.reg = LED0_MASK)
 
#define LED0_NAME   "LED(Amber)"
 

Macro Definition Documentation

◆ LED0_MASK

#define LED0_MASK   (1 << 20)

Definition at line 41 of file board.h.

◆ LED0_NAME

#define LED0_NAME   "LED(Amber)"

Definition at line 47 of file board.h.

◆ LED0_OFF

#define LED0_OFF   (LED_PORT.OUTCLR.reg = LED0_MASK)

Definition at line 44 of file board.h.

◆ LED0_ON

#define LED0_ON   (LED_PORT.OUTSET.reg = LED0_MASK)

Definition at line 43 of file board.h.

◆ LED0_PIN

#define LED0_PIN   GPIO_PIN(PA, 20)

Definition at line 38 of file board.h.

◆ LED0_TOGGLE

#define LED0_TOGGLE   (LED_PORT.OUTTGL.reg = LED0_MASK)

Definition at line 45 of file board.h.

◆ LED_PORT

#define LED_PORT   PORT->Group[PA]

Definition at line 40 of file board.h.