19 #ifndef CONFIG_BOARD_HAS_HSE
20 #define CONFIG_BOARD_HAS_HSE 1
23 #include "periph_cpu.h"
38 .rcc_mask = RCC_APB1ENR_TIM2EN,
45 .rcc_mask = RCC_APB1ENR_TIM3EN,
51 #define TIMER_0_ISR isr_tim2
52 #define TIMER_1_ISR isr_tim3
54 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
64 .rcc_mask = RCC_APB1ENR_USART2EN,
72 .rcc_mask = RCC_APB2ENR_USART1EN,
80 .rcc_mask = RCC_APB1ENR_USART3EN,
88 #define UART_0_ISR isr_usart2
89 #define UART_1_ISR isr_usart1
90 #define UART_2_ISR isr_usart3
92 #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.
@ APB1
Advanced Peripheral Bus 1
@ APB2
Advanced Peripheral Bus 2
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