25#include "periph_cpu.h"
37#ifndef STDIO_UART_BAUDRATE
38#define STDIO_UART_BAUDRATE (57600)
46#define LED0_PIN GPIO_PIN(PA, 9)
48#define LED_PORT PORT->Group[PA]
49#define LED0_MASK (1 << 9)
51#define LED0_ON (LED_PORT.OUTSET.reg = LED0_MASK)
52#define LED0_OFF (LED_PORT.OUTCLR.reg = LED0_MASK)
53#define LED0_TOGGLE (LED_PORT.OUTTGL.reg = LED0_MASK)
60#define BTN0_PIN GPIO_PIN(PA, 25)
61#define BTN0_MODE GPIO_IN_PU
Configuration of CPU peripherals for the Atmel SAM D10 Xplained Mini board.
Low-level GPIO peripheral driver interface definitions.