Board specific definitions for the GD32VF103C-START board. More...
Board specific definitions for the GD32VF103C-START board.
Definition in file periph_conf.h.
#include "macros/units.h"
#include "periph_cpu.h"
#include "periph_common_conf.h"
#include "cfg_spi_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 | I2C_DEV_1_USED 1 |
Enable I2C_DEV(1) by default. | |
I2C configuration | |
| |
#define | I2C_NUMOF ARRAY_SIZE(i2c_config) |
static const i2c_conf_t | i2c_config [] |
PB10/PB11 (D15/D14) as I2C for Arduino UNO compatibility. | |
ADC configuration | |
#define | ADC_NUMOF ARRAY_SIZE(adc_config) |
static const adc_conf_t | adc_config [] |
Timer configuration | |
#define | TIMER_0_IRQN TIMER0_Channel_IRQn |
#define | TIMER_1_IRQN TIMER1_IRQn |
#define | TIMER_2_IRQN TIMER4_IRQn |
#define | TIMER_NUMOF ARRAY_SIZE(timer_config) |
static const timer_conf_t | timer_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 94 of file periph_conf.h.
#define CONFIG_BOARD_HAS_HXTAL 1 |
The board provides a high frequency oscillator.
Definition at line 25 of file periph_conf.h.
#define CONFIG_BOARD_HAS_LXTAL 1 |
The board provides a low frequency oscillator.
Definition at line 29 of file periph_conf.h.
#define CONFIG_CLOCK_HXTAL MHZ(8) |
HXTAL frequency.
Definition at line 33 of file periph_conf.h.
#define I2C_DEV_1_USED 1 |
Enable I2C_DEV(1) by default.
Definition at line 37 of file periph_conf.h.
#define I2C_NUMOF ARRAY_SIZE(i2c_config) |
Definition at line 74 of file periph_conf.h.
#define PWM_NUMOF ARRAY_SIZE(pwm_config) |
Definition at line 166 of file periph_conf.h.
#define TIMER_0_IRQN TIMER0_Channel_IRQn |
Definition at line 126 of file periph_conf.h.
#define TIMER_1_IRQN TIMER1_IRQn |
Definition at line 127 of file periph_conf.h.
#define TIMER_2_IRQN TIMER4_IRQn |
Definition at line 128 of file periph_conf.h.
#define TIMER_NUMOF ARRAY_SIZE(timer_config) |
Definition at line 130 of file periph_conf.h.
|
static |
Definition at line 81 of file periph_conf.h.
|
static |
PB10/PB11 (D15/D14) as I2C for Arduino UNO compatibility.
PB10/PB11 are located where Arduino UNO shields expect I2C.
Definition at line 63 of file periph_conf.h.
|
static |
Definition at line 137 of file periph_conf.h.
|
static |
Definition at line 101 of file periph_conf.h.