cfg_timer_default.h File Reference

Default timer configuration for GD32VF103 boards. More...

Detailed Description

Default timer configuration for GD32VF103 boards.

Author
Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file cfg_timer_default.h.

#include "periph_cpu.h"
+ Include dependency graph for cfg_timer_default.h:

Go to the source code of this file.

Timer configuration

All GD32VF103xx variants have at least one advanced timer TIMER0 and two general timers TIMER1 and TIMER2.

GD32VF10x8 and GD32VF10xB have two additional general timers TIMER3 and TIMER4.

#define TIMER_0_IRQN   TIMER0_Channel_IRQn
 
#define TIMER_1_IRQN   TIMER1_IRQn
 
#define TIMER_2_IRQN   TIMER2_IRQn
 
#define TIMER_NUMOF   ARRAY_SIZE(timer_config)
 
static const timer_conf_t timer_config []