arduino-due/include/board.h File Reference

Board specific definitions for the Arduino Due board. More...

Detailed Description

Board specific definitions for the Arduino Due board.

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

Definition in file arduino-due/include/board.h.

#include "cpu.h"
#include "arduino_pinmap.h"
+ Include dependency graph for arduino-due/include/board.h:

Go to the source code of this file.

Macros

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)
 

Functions

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