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

Macro Definition Documentation

◆ TIMER_0_ISR

#define TIMER_0_ISR   isr_tim5

IRQ of timer at idx 0.

Definition at line 67 of file cfg_timer_tim5_and_tim2.h.

◆ TIMER_1_ISR

#define TIMER_1_ISR   isr_tim2

IRQ of timer at idx 1.

Definition at line 68 of file cfg_timer_tim5_and_tim2.h.

◆ TIMER_NUMOF

#define TIMER_NUMOF   ARRAY_SIZE(timer_config)

Definition at line 70 of file cfg_timer_tim5_and_tim2.h.

Variable Documentation

◆ timer_config

const timer_conf_t timer_config[]
static

Definition at line 33 of file cfg_timer_tim5_and_tim2.h.