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"
Include dependency graph for periph_conf.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 [] |
| #define ADC_NUMOF ARRAY_SIZE(adc_config) |
Definition at line 75 of file periph_conf.h.
| #define CONFIG_BOARD_HAS_HXTAL 1 |
The board provides a high frequency oscillator.
Definition at line 23 of file periph_conf.h.
| #define CONFIG_BOARD_HAS_LXTAL 1 |
The board provides a low frequency oscillator.
Definition at line 27 of file periph_conf.h.
| #define CONFIG_CLOCK_HXTAL MHZ(8) |
HXTAL frequency.
Definition at line 31 of file periph_conf.h.
| #define I2C_DEV_1_USED 1 |
Enable I2C_DEV(1) by default.
Definition at line 39 of file periph_conf.h.
| #define PWM_NUMOF ARRAY_SIZE(pwm_config) |
Definition at line 113 of file periph_conf.h.
| #define SPI_DEV_1_USED 1 |
Enable SPI_DEV(1) by default for the connected Flash.
Definition at line 35 of file periph_conf.h.
|
static |
Definition at line 59 of file periph_conf.h.
|
static |
Definition at line 82 of file periph_conf.h.