23 #ifndef CONFIG_BOARD_HAS_HSE
24 #define CONFIG_BOARD_HAS_HSE 1
27 #include "periph_cpu.h"
42 .rcc_mask = RCC_APB1ENR_TIM2EN,
49 .rcc_mask = RCC_APB1ENR_TIM3EN,
55 #define TIMER_0_ISR isr_tim2
56 #define TIMER_1_ISR isr_tim3
58 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
68 .rcc_mask = RCC_APB1ENR_USART2EN,
76 .rcc_mask = RCC_APB2ENR_USART1EN,
84 .rcc_mask = RCC_APB1ENR_USART3EN,
92 #define UART_0_ISR isr_usart2
93 #define UART_1_ISR isr_usart1
94 #define UART_2_ISR isr_usart3
96 #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