26#include "periph_cpu.h"
37#define XTIMER_DEV TIMER_DEV(1)
38#define XTIMER_CHAN (0)
45#define CONFIG_ZTIMER_USEC_TYPE ZTIMER_TYPE_PERIPH_TIMER
46#define CONFIG_ZTIMER_USEC_DEV TIMER_DEV(1)
48#define CONFIG_ZTIMER_USEC_MIN (10)
56#define AT86RF2XX_PARAM_CS GPIO_PIN(PB, 31)
57#define AT86RF2XX_PARAM_INT GPIO_PIN(PB, 0)
58#define AT86RF2XX_PARAM_SLEEP GPIO_PIN(PA, 20)
59#define AT86RF2XX_PARAM_RESET GPIO_PIN(PB, 15)
65#define LED0_PIN GPIO_PIN(0, 19)
67#define LED_PORT PORT->Group[0]
68#define LED0_MASK (1 << 19)
70#define LED0_ON (LED_PORT.OUTCLR.reg = LED0_MASK)
71#define LED0_OFF (LED_PORT.OUTSET.reg = LED0_MASK)
72#define LED0_TOGGLE (LED_PORT.OUTTGL.reg = LED0_MASK)
79#define BTN0_PIN GPIO_PIN(0, 28)
80#define BTN0_MODE GPIO_IN_PU
87#define RFCTL1_PIN GPIO_PIN(0, 9)
88#define RFCTL2_PIN GPIO_PIN(0, 12)
103#ifndef RFCTL_ANTENNA_DEFAULT
104#define RFCTL_ANTENNA_DEFAULT RFCTL_ANTENNA_BOARD
Native CPU peripheral configuration.
Low-level GPIO peripheral driver interface definitions.
void board_antenna_config(uint8_t antenna)
Set antenna switch.