24 #ifndef CONFIG_BOARD_HAS_HSE
25 #define CONFIG_BOARD_HAS_HSE 1
29 #ifndef CONFIG_CLOCK_HSE
30 #define CONFIG_CLOCK_HSE MHZ(16)
33 #include "periph_cpu.h"
48 .rcc_mask = RCC_APB1ENR_TIM2EN,
55 .rcc_mask = RCC_APB1ENR_TIM5EN,
61 #define TIMER_0_ISR isr_tim2
62 #define TIMER_1_ISR isr_tim5
64 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
74 .rcc_mask = RCC_APB2ENR_USART6EN,
81 #ifdef MODULE_PERIPH_DMA
82 .dma = DMA_STREAM_UNDEF,
83 .dma_chan = UINT8_MAX,
88 #define UART_0_ISR (isr_usart6)
90 #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_AF8
use alternate function 8
@ 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