cfg_timer_tim5_and_tim2.h File Reference

Common configuration for STM32 Timer peripheral based on TIM5 and TIM2. More...

Detailed Description

Common configuration for STM32 Timer peripheral based on TIM5 and TIM2.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file cfg_timer_tim5_and_tim2.h.

#include "periph_cpu.h"
+ Include dependency graph for cfg_timer_tim5_and_tim2.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Timer configuration

#define TIMER_0_ISR   isr_tim5
 IRQ of timer at idx 0.
 
#define TIMER_1_ISR   isr_tim2
 IRQ of timer at idx 1.
 
#define TIMER_NUMOF   ARRAY_SIZE(timer_config)
 
static const timer_conf_t timer_config []