21 #include "periph_cpu.h" 
   36         .rcc_mask = RCC_APBENR2_TIM1EN,
 
   42 #define TIMER_0_ISR         isr_tim1_cc 
   43 #define TIMER_0_MAX_VALUE   0xffff 
   45 #define TIMER_NUMOF         ARRAY_SIZE(timer_config) 
   55         .rcc_mask   = RCC_APBENR1_USART2EN,
 
   65 #define UART_0_ISR          (isr_usart2) 
   67 #define UART_NUMOF          ARRAY_SIZE(uart_config) 
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
 
static const uart_conf_t uart_config[]
UART configuration.
 
static const timer_conf_t timer_config[]
All timers on board.
 
@ GPIO_AF1
use alternate function 1
 
@ APB1
Advanced Peripheral Bus 1
 
Timer device configuration.
 
TC0_t * dev
Pointer to the used as Timer device.
 
UART device configuration.
 
USART_t * dev
pointer to the used UART device