18 #include "periph_cpu.h" 
   31 #if defined(CPU_FAM_STM32L0) || defined(CPU_FAM_STM32L1) 
   36 #if defined(RCC_APB1ENR1_TIM2EN) 
   37         .rcc_mask = RCC_APB1ENR1_TIM2EN,
 
   38 #elif defined(RCC_MC_APB1ENSETR_TIM2EN) 
   39         .rcc_mask = RCC_MC_APB1ENSETR_TIM2EN,
 
   41         .rcc_mask = RCC_APB1ENR_TIM2EN,
 
   48 #define TIMER_0_ISR         isr_tim2 
   50 #define TIMER_NUMOF         ARRAY_SIZE(timer_config) 
@ APB1
Advanced Peripheral Bus 1
 
Timer device configuration.
 
TC0_t * dev
Pointer to the used as Timer device.