Arduino Due Common

Shared files and configuration for Arduino Due based boards. More...

Detailed Description

Shared files and configuration for Arduino Due based boards.

Files

file  arduino_board.h
 Board specific configuration for the Arduino API.
 
file  arduino_pinmap.h
 Mapping from MCU pins to Arduino pins.
 
file  board.h
 Board specific definitions for the Arduino Due based boards.
 
file  gpio_params.h
 Board specific configuration of direct mapped GPIOs.
 
file  periph_conf.h
 Peripheral MCU configuration for Arduino Due based boards.
 
file  sdcard_spi_params.h
 SD card configuration for the Arduino SD card shields.
 

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)
 

Configuration parameters for the W5100 driver

#define W5100_PARAM_CS   (ARDUINO_PIN_10)
 
#define W5100_PARAM_EVT   (ARDUINO_PIN_2)