Arduino Zero

Support for the Arduino Zero board. More...

Detailed Description


file  arduino-zero/include/arduino_board.h
 Board specific configuration for the Arduino API.
file  arduino-zero/include/arduino_pinmap.h
 Mapping from MCU pins to Arduino pins.
file  arduino-zero/include/board.h
 Board specific definitions for the Arduino Zero board.
file  boards/arduino-zero/include/periph_conf.h
 Configuration of CPU peripherals for Arduino Zero board.


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

xtimer configuration

#define XTIMER   TIMER_0
#define XTIMER_CHAN   (0)

LED pin definitions and handlers

#define LED0_PIN   GPIO_PIN(PA, 17)
#define LED_PORT   PORT->Group[PA]
#define LED0_MASK   (1 << 17)
#define LED0_ON   (LED_PORT.OUTSET.reg = LED0_MASK)
#define LED0_OFF   (LED_PORT.OUTCLR.reg = LED0_MASK)