The friendly Operating System for the Internet of Things
arduino-due/include/board.h File Reference

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

Detailed Description

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

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)


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