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

Board specific definitions for the Arduino Due based boards. More...

Detailed Description

Board specific definitions for the Arduino Due based boards.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file board.h.

#include "cpu.h"
#include "arduino_pinmap.h"
#include "periph/gpio.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

#define LED0_PIN   GPIO_PIN(PB, 27)
 
#define LED0_ON   (PIOB->PIO_SODR = PIO_PB27)
 
#define LED0_OFF   (PIOB->PIO_CODR = PIO_PB27)
 
#define LED0_TOGGLE   ((PIOB->PIO_ODSR & PIO_PB27) ? LED0_OFF : LED0_ON)