35 #define XTIMER_DEV TIMER_DEV(1)
36 #define XTIMER_CHAN (0)
43 #define CONFIG_ZTIMER_USEC_TYPE ZTIMER_TYPE_PERIPH_TIMER
44 #define CONFIG_ZTIMER_USEC_DEV TIMER_DEV(1)
48 #define CONFIG_ZTIMER_USEC_MIN (10)
55 #define AT86RF2XX_PARAM_CS GPIO_PIN(PB, 31)
56 #define AT86RF2XX_PARAM_INT GPIO_PIN(PB, 0)
57 #define AT86RF2XX_PARAM_SLEEP GPIO_PIN(PA, 20)
58 #define AT86RF2XX_PARAM_RESET GPIO_PIN(PB, 15)
65 #define LED0_PIN GPIO_PIN(0, 19)
66 #define LED_PORT PORT->Group[0]
67 #define LED0_MASK (1 << 19)
68 #define LED0_ON (LED_PORT.OUTCLR.reg = LED0_MASK)
69 #define LED0_OFF (LED_PORT.OUTSET.reg = LED0_MASK)
70 #define LED0_TOGGLE (LED_PORT.OUTTGL.reg = LED0_MASK)
77 #define BTN0_PORT PORT->Group[0]
78 #define BTN0_PIN GPIO_PIN(0, 28)
79 #define BTN0_MODE GPIO_IN_PU
86 #define RFCTL1_PIN GPIO_PIN(0, 9)
87 #define RFCTL2_PIN GPIO_PIN(0, 12)
105 #ifndef RFCTL_ANTENNA_DEFAULT
109 #define RFCTL_ANTENNA_DEFAULT RFCTL_ANTENNA_BOARD
void board_antenna_config(uint8_t antenna)
Set antenna switch.
void board_init(void)
Initialize board specific hardware, including clock, LEDs and std-IO.
Peripheral MCU configuration for the VS203 board.