Loading...
Searching...
No Matches
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 []
 

Macro Definition Documentation

◆ TIMER_0_IRQN

#define TIMER_0_IRQN   TIMER0_Channel_IRQn

Definition at line 84 of file cfg_timer_default.h.

◆ TIMER_1_IRQN

#define TIMER_1_IRQN   TIMER1_IRQn

Definition at line 85 of file cfg_timer_default.h.

◆ TIMER_2_IRQN

#define TIMER_2_IRQN   TIMER2_IRQn

Definition at line 88 of file cfg_timer_default.h.

◆ TIMER_NUMOF

#define TIMER_NUMOF   ARRAY_SIZE(timer_config)

Definition at line 98 of file cfg_timer_default.h.

Variable Documentation

◆ timer_config

const timer_conf_t timer_config[]
static

Definition at line 39 of file cfg_timer_default.h.