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 dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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)