Loading...
Searching...
No Matches
cfg_timer_tim5.h File Reference

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

Detailed Description

Common configuration for STM32 Timer peripheral based on TIM5.

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.h.

#include "periph_cpu.h"
+ Include dependency graph for cfg_timer_tim5.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
 
#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

Definition at line 46 of file cfg_timer_tim5.h.

◆ TIMER_NUMOF

#define TIMER_NUMOF   ARRAY_SIZE(timer_config)

Definition at line 48 of file cfg_timer_tim5.h.

Variable Documentation

◆ timer_config

const timer_conf_t timer_config[]
static
Initial value:
= {
{
.dev = TIM5,
.max = 0xffffffff,
.rcc_mask = RCC_APB1ENR_TIM5EN,
.bus = APB1,
.irqn = TIM5_IRQn
}
}
@ APB1
Advanced Peripheral Bus 1
Definition periph_cpu.h:79

Definition at line 32 of file cfg_timer_tim5.h.