21 #include "periph_cpu.h" 
   23 #include "cfg_rtt_default.h" 
   37         .rcc_mask = RCC_APBENR1_TIM3EN,
 
   43 #define TIMER_0_ISR         isr_tim3 
   45 #define TIMER_NUMOF         ARRAY_SIZE(timer_config) 
   47 #define TIMER_0_MAX_VALUE   0x0000FFFFUL  
   57         .rcc_mask   = RCC_APBENR2_USART1EN,
 
   67         .rcc_mask   = RCC_APBENR1_USART2EN,
 
   77 #define UART_0_ISR          (isr_usart1) 
   78 #define UART_1_ISR          (isr_usart2) 
   80 #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