Board specific definitions for the SeeedStudio GD32 RISC-V board. More...
Board specific definitions for the SeeedStudio GD32 RISC-V board.
Definition in file periph_conf.h.
#include "macros/units.h"
#include "periph_cpu.h"
#include "periph_common_conf.h"
#include "cfg_i2c_default.h"
#include "cfg_spi_default.h"
#include "cfg_timer_default.h"
#include "cfg_uart_default.h"
#include "cfg_usbdev_default.h"
Go to the source code of this file.
#define | CONFIG_BOARD_HAS_HXTAL 1 |
The board provides a high frequency oscillator. | |
#define | CONFIG_BOARD_HAS_LXTAL 1 |
The board provides a low frequency oscillator. | |
#define | CONFIG_CLOCK_HXTAL MHZ(8) |
HXTAL frequency. | |
#define | SPI_DEV_1_USED 1 |
Enable SPI_DEV(1) by default for the connected Flash. | |
#define | I2C_DEV_1_USED 1 |
Enable I2C_DEV(1) by default. | |
ADC configuration | |
#define | ADC_NUMOF ARRAY_SIZE(adc_config) |
static const adc_conf_t | adc_config [] |
PWM configuration | |
#define | PWM_NUMOF ARRAY_SIZE(pwm_config) |
static const pwm_conf_t | pwm_config [] |
|
static |
Definition at line 63 of file periph_conf.h.
|
static |
Definition at line 86 of file periph_conf.h.