Arduino Due

Support for the Arduino Due board. More...

Detailed Description

Support for the Arduino Due board.

Files

file  arduino-due/include/arduino_board.h
 Board specific configuration for the Arduino API.
 
file  arduino-due/include/arduino_pinmap.h
 Mapping from MCU pins to Arduino pins.
 
file  arduino-due/include/board.h
 Board specific definitions for the Arduino Due board.
 
file  boards/arduino-due/include/periph_conf.h
 Peripheral MCU configuration for the Arduino Due board.
 

Functions

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

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)