Board specific definitions for the GD32VF103C-START board.  
More...
Board specific definitions for the GD32VF103C-START board. 
- Author
 - Marian Buschsieweke maria.nosp@m.n.bu.nosp@m.schsi.nosp@m.ewek.nosp@m.e@pos.nosp@m.teo..nosp@m.net 
 
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  | 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 [] | 
|   | 
◆ adc_config
Initial value:= {
    
    
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
 
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
 
 
Definition at line 77 of file periph_conf.h.
 
 
◆ i2c_config
Initial value:= {
    {
        .dev            = I2C1,
        .rcu_mask       = RCU_APB1EN_I2C1EN_Msk,
        .irqn           = I2C1_EV_IRQn,
    }
}
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
 
 
PB10/PB11 (D15/D14) as I2C for Arduino UNO compatibility. 
PB10/PB11 are located where Arduino UNO shields expect I2C. 
Definition at line 59 of file periph_conf.h.
 
 
◆ pwm_config
Initial value:= {
    {
        .dev      = TIMER2,
        .rcu_mask = RCU_APB1EN_TIMER2EN_Msk,
        .chan     = {
                        
                    },
    },
    {
        .dev      = TIMER3,
        .rcu_mask = RCU_APB1EN_TIMER3EN_Msk,
        .chan     = {
                        
                    },
    },
}
@ GPIO_AF_OUT_PP
alternate function output - push-pull
 
@ APB1
Advanced Peripheral Bus 1
 
 
Definition at line 133 of file periph_conf.h.
 
 
◆ timer_config
Initial value:= {
    {
        .dev      = TIMER0,
        .max      = 0x0000ffff,
        .rcu_mask = RCU_APB2EN_TIMER0EN_Msk,
        .irqn     = TIMER0_Channel_IRQn
    },
    {
        .dev      = TIMER1,
        .max      = 0x0000ffff,
        .rcu_mask = RCU_APB1EN_TIMER1EN_Msk,
        .irqn     = TIMER1_IRQn
    },
    
    {
        .dev      = TIMER4,
        .max      = 0x0000ffff,
        .rcu_mask = RCU_APB1EN_TIMER4EN_Msk,
        .irqn     = TIMER4_IRQn
    }
}
@ APB2
Advanced Peripheral Bus 2
 
 
Definition at line 97 of file periph_conf.h.