26#ifndef CONFIG_BOARD_HAS_HXTAL
27#define CONFIG_BOARD_HAS_HXTAL 1
30#ifndef CONFIG_BOARD_HAS_LXTAL
31#define CONFIG_BOARD_HAS_LXTAL 1
34#ifndef CONFIG_CLOCK_HXTAL
35#define CONFIG_CLOCK_HXTAL MHZ(8)
39#define SPI_DEV_1_USED 1
43#define I2C_DEV_1_USED 1
46#include "periph_cpu.h"
49#include "cfg_i2c_default.h"
50#include "cfg_spi_default.h"
51#include "cfg_timer_default.h"
52#include "cfg_uart_default.h"
53#include "cfg_usbdev_default.h"
79#define ADC_NUMOF ARRAY_SIZE(adc_config)
89 .rcu_mask = RCU_APB1EN_TIMER2EN_Msk,
100#if !defined(MODULE_PERIPH_CAN)
103 .rcu_mask = RCU_APB1EN_TIMER3EN_Msk,
117#define PWM_NUMOF ARRAY_SIZE(pwm_config)
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
@ GPIO_AF_OUT_PP
alternate function output - push-pull
@ APB1
Advanced Peripheral Bus 1
Common peripheral configuration for GD32VF103 boards.
ADC device configuration.
gpio_t pin
pin connected to the channel
PWM device configuration.
mini_timer_t * dev
Timer used.