22 #ifndef CONFIG_BOARD_HAS_HSE
23 #define CONFIG_BOARD_HAS_HSE 1
26 #include "periph_cpu.h"
41 .rcc_mask = RCC_APB1ENR_TIM2EN,
48 .rcc_mask = RCC_APB1ENR_TIM3EN,
54 #define TIMER_0_ISR isr_tim2
55 #define TIMER_1_ISR isr_tim3
57 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
67 .rcc_mask = RCC_APB1ENR_USART2EN,
75 .rcc_mask = RCC_APB2ENR_USART1EN,
83 .rcc_mask = RCC_APB1ENR_USART3EN,
91 #define UART_0_ISR isr_usart2
92 #define UART_1_ISR isr_usart1
93 #define UART_2_ISR isr_usart3
95 #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